Function at 0x4055f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
push ebx
push ebp
push esi
mov esi, dword [0x4332a8]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [esp + 0x9c], 8
je 0x4061df
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0xbc]
push ecx
mov ecx, dword [0x43273c]
lea eax, [esp + 0xb8]
push edx
push eax
push ecx
push esi
call fcn.0040cc40
lea edx, [esp + 0xd8]
push edx
push str.LIMMIN
call fcn.0041af70
lea eax, [esp + 0x100]
push eax
push str.LIMMAX
call fcn.0041af70
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xf6], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xee], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xf2], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x112], eax
lea eax, [esp + 0xee]
mov dword [esp + 0xfa], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x10e], edx
mov edx, dword [esp + 0xd4]
push eax
push str.LIMMIN
mov dword [esp + 0x11e], ecx
mov dword [esp + 0x122], edx
call fcn.0040c1e0
lea ecx, [esp + 0x116]
push ecx
push str.LIMMAX
call fcn.0040c1e0
push ebx
push 0x42ba48
push 0x138d
push str..ZOOM
push 0x138d
call fcn.0041d550
add esp, 0x4c
lea edx, [esp + 0x100]
push edx
push 0x42b0d8
push str.CMDECHO
call fcn.0040c130
push str.CUTALL
call fcn.00401f30
add esp, 0x10
cmp word [0x432760], bx
jne 0x4057a2
cmp word [0x432774], bx
jg 0x4057a2
cmp word [0x432776], bx
jg 0x4057a2
lea eax, [esp + 0x100]
push eax
push 0x42b0d8
push str.CMDECHO
call fcn.0040c130
push ebx
push 0x42b124
push 0x138d
push str..ZOOM
push 0x138d
call fcn.0041d550
lea ecx, [esp + 0x120]
push ecx
push str.CMDECHO
call fcn.0040c1c0
add esp, 0x28
cmp word [0x432778], bx
je 0x4057b8
push 0x42ba20
call fcn.0041d510
add esp, 4
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
xor edi, edi
call fcn.0041ace0
test eax, eax
je 0x405992
cmp word [0x432778], bx
je 0x40596b
mov edx, dword [0x4333e4]
push 0x24
push 0x42b72c
push 0x42b9ec
push edx
call ebp
cmp eax, 6
je 0x4061c5
mov word [0x432778], bx
mov word [0x43277e], bx
movsx ecx, word [0x43277e]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esi]
dec eax
je 0x405fdf
dec eax
je 0x405be2
dec eax
jne 0x4061ba
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.0041f130
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [esi + 0x24]
push edx
push eax
lea edx, [esp + 0xac]
push ecx
push edx
call fcn.0041f130
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
mov edx, dword [esi + 0x14]
push eax
push ecx
lea eax, [esp + 0xc8]
push edx
push eax
call fcn.00402890
add esp, 0x4c
cmp word [0x432770], bx
fstp st(0)
je 0x405a60
lea ecx, [esp + 0x10]
push ecx
push 0x431588
call fcn.0041f100
fstp qword [esp + 0x50]
lea edx, [esp + 0x38]
push edx
push 0x431588
call fcn.0041f100
fcomp qword [esp + 0x58]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x405a26
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [0x431588], eax
mov eax, dword [esp + 0x3c]
mov dword [0x43158c], ecx
mov ecx, dword [esp + 0x40]
mov dword [0x431590], edx
mov edx, dword [esp + 0x44]
mov dword [0x431594], eax
jmp 0x405a54
mov eax, dword [0x4333e4]
push 0x23
push 0x42b72c
push 0x42b9a0
push eax
call ebp
cmp eax, 6
je 0x4061c5
push 1
call fcn.004048d0
add esp, 4
cmp word [0x432778], bx
je 0x405806
lea ecx, [esp + 0x120]
lea edx, [esp + 0x9c]
push ecx
push edx
push ebx
call fcn.0041e330
add esp, 0xc
cmp eax, 0xffffec76
jne 0x4059ea
mov eax, dword [0x4333e4]
push 0x24
push 0x42b72c
push 0x42b970
push eax
call ebp
cmp eax, 6
je 0x4061c5
mov word [0x432778], bx
mov word [0x43277e], bx
cmp dword [esp + 0x9c], 2
jne 0x405814
cmp word [esp + 0x124], 0x138b
jne 0x405814
cmp word [esp + 0x126], 0x20
jne 0x405814
push 1
call fcn.004048d0
add esp, 4
jmp 0x405814
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x431588], eax
mov eax, dword [esp + 0x1c]
mov dword [0x43158c], ecx
mov ecx, dword [esp + 0x20]
mov dword [0x431590], edx
mov edx, dword [esp + 0x24]
mov dword [0x431594], eax
mov dword [0x431598], ecx
mov dword [0x43159c], edx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push str.CUTALL
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
mov edx, dword [esi + 0x14]
push eax
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
push ebx
call fcn.004024a0
add esp, 0x24
cmp eax, 0x13ec
jne 0x405b68
push ebx
push 0x431580
push 0x138d
push 0x42b0bc
push 0x138d
push 0x42b96c
push 0x138d
push str..PEDIT
push 0x138d
call fcn.0041d550
add esp, 0x24
cmp edi, ebx
je 0x405b68
lea ecx, [esp + 0x28]
push ecx
call fcn.00401af0
add esp, 4
cmp eax, 0xe
jne 0x405b68
lea edx, [esp + 0x28]
push edx
call fcn.00402810
add esp, 4
test eax, eax
jne 0x405b68
push 0x3f847ae1
lea eax, [esp + 0x70]
push 0x47ae147b
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00401930
add esp, 0x18
test eax, eax
je 0x405b68
push ebx
push 0x431580
push 0x138d
push 0x431580
push 0x138d
push 0x42b96c
push 0x138d
push str.JOIN
lea ecx, [esp + 0x48]
push 0x138d
push ecx
push 0x138e
push str..PEDIT
push 0x138d
call fcn.0041d550
add esp, 0x34
lea edx, [esp + 0x28]
push edx
call fcn.0041c220
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov edi, 1
jmp 0x4061ba
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x84]
push 0x431588
push ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
call fcn.0041f090
fstp qword [esp + 0x50]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x9c]
push eax
push ecx
call fcn.0041f130
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x44]
mov dword [0x431588], edx
mov edx, dword [esp + 0x3c]
mov dword [0x43158c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x38]
mov dword [0x431594], edx
mov dword [0x431598], eax
lea edx, [esp + 0xa4]
mov dword [0x431590], ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x8c]
push edx
push eax
mov dword [0x43159c], ecx
call fcn.0041f100
fsub qword [esi + 0x14]
add esp, 0x28
fabs
fcomp qword [0x42a160]
fnstsw ax
test ah, 1
je 0x405d0b
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
cmp edi, ebx
je 0x405f3c
lea ecx, [esp + 0x84]
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.0041f100
fsub qword [esi + 0x14]
add esp, 8
fabs
fcomp qword [0x42a160]
fnstsw ax
test ah, 1
je 0x405f3c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.0041f090
fstp qword [esp + 0x50]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
fld qword [esp + 0x50]
fadd qword [0x42a168]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
fstp qword [esi + 0x24]
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
call fcn.0041f130
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 0x24]
push eax
push ecx
lea eax, [esp + 0xb4]
push edx
push eax
call fcn.0041f130
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
lea ecx, [esp + 0xd0]
push eax
push ecx
call fcn.00402890
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
add esp, 0x54
fstp st(0)
push str.CUTALL
push edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push edx
push eax
lea edx, [esp + 0x9c]
push ecx
push edx
push ebx
call fcn.004024a0
push ebx
push 0x431580
push 0x138d
push 0x42b0bc
push 0x138d
push 0x42b96c
push 0x138d
push str..PEDIT
push 0x138d
call fcn.0041d550
add esp, 0x48
lea eax, [esp + 0x28]
push ebx
push 0x431580
push 0x138d
push 0x431580
push 0x138d
push 0x42b96c
push 0x138d
push str.JOIN
push 0x138d
push eax
push 0x138e
push str..PEDIT
push 0x138d
call fcn.0041d550
lea ecx, [esp + 0x5c]
push ecx
call fcn.0041c220
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x28]
push str.CUTALL
push edx
mov edx, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push edx
push eax
lea edx, [esp + 0xd4]
push ecx
push edx
push ebx
call fcn.004024a0
add esp, 0x5c
push ebx
push 0x431580
push 0x138d
push 0x42b0bc
push 0x138d
push 0x42b96c
push 0x138d
push str..PEDIT
push 0x138d
call fcn.0041d550
push ebx
push 0x431580
push 0x138d
push 0x431580
push 0x138d
push 0x42b96c
push 0x138d
push str.JOIN
lea eax, [esp + 0x6c]
push 0x138d
push eax
push 0x138e
push str..PEDIT
push 0x138d
call fcn.0041d550
add esp, 0x58
lea ecx, [esp + 0x28]
push ecx
call fcn.0041c220
add esp, 4
mov edi, 1
jmp 0x405f77
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
push str.CUTALL
push edx
lea ecx, [esp + 0x8c]
push eax
push ecx
push ebx
call fcn.00402380
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0xa4]
push ebx
push edx
call fcn.0041f130
add esp, 0x28
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
jmp 0x4061ba
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
fld qword [esi + 0x14]
push str.CUTALL
fst qword [esp + 0x34]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
fstp qword [0x431588]
mov dword [esp + 0x3c], ecx
mov eax, ecx
mov dword [esp + 0x40], edx
mov ecx, edx
mov dword [0x431590], eax
lea edx, [esp + 0x34]
mov dword [0x431594], ecx
mov cx, word [0x432762]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
mov dword [0x431598], 0
mov dword [0x43159c], 0
call fcn.00402600
add esp, 0x10
cmp eax, 0x13ec
jne 0x406132
push ebx
push 0x431580
push 0x138d
push 0x42b0bc
push 0x138d
push 0x42b96c
push 0x138d
push str..PEDIT
push 0x138d
call fcn.0041d550
add esp, 0x24
cmp edi, ebx
je 0x406132
lea edx, [esp + 0x28]
push edx
call fcn.00401af0
add esp, 4
cmp eax, 0xe
jne 0x406132
lea eax, [esp + 0x28]
push eax
call fcn.00402810
add esp, 4
test eax, eax
jne 0x406132
push 0x3f847ae1
lea ecx, [esp + 0x70]
push 0x47ae147b
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00401930
add esp, 0x18
test eax, eax
je 0x406132
push ebx
push 0x431580
push 0x138d
push 0x431580
push 0x138d
push 0x42b96c
push 0x138d
push str.JOIN
lea edx, [esp + 0x48]
push 0x138d
push edx
push 0x138e
push str..PEDIT
push 0x138d
call fcn.0041d550
add esp, 0x34
lea eax, [esp + 0x28]
push eax
call fcn.0041c220
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], edx
push ecx
mov dword [esp + 0x88], eax
mov edi, 1
call fcn.00402810
add esp, 8
test eax, eax
je 0x4061ba
xor edi, edi
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jne 0x4057c0
call fcn.00405420
lea edx, [esp + 0x100]
push edx
push str.CMDECHO
call fcn.0040c1c0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret