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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x4040a0]
mov esi, 0x19
lea edi, [esp + 0x5f]
mov word [esp + 0xa8], 0x69c4
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0x5b20
mov byte [esp + 0x97], 0x31
mov dword [esp + 0x90], 0x6a6f
mov bl, byte [esp + 0x97]
xor bl, 0xae
mov byte [esp + 0x52], bl
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], ecx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x19
mov dword [esp + 0x2c], esi
call sub.msvcrt.dll_memcpy
mov dword [esp + 0x80], 0
jmp 0x402634
mov ax, word [esp + 0x7e]
mov word [esp + 0x86], ax
movzx ecx, word [esp + 0xa8]
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x78]
mov edi, esp
lea ebx, [esp + 0x30]
mov dword [edi + 0xc], ebx
xor ecx, 0x69c4
mov dword [edi + 8], ecx
lea ecx, [esp + 0x84]
mov dword [edi + 4], ecx
mov dword [edi], edx
call esi
sub esp, 0x10
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x30]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esp + 0x80]
movsx ecx, byte [esp + 0x53]
xor ecx, 0xae
mov dl, cl
mov byte [esp + eax + 0x5f], dl
mov eax, 0x6a70
sub eax, dword [esp + 0x90]
add eax, dword [esp + 0x80]
mov dword [esp + 0x80], eax
jmp 0x402634
mov al, byte [esp + 0x97]
add al, 0x63
mov ecx, dword [esp + 0x90]
mov edx, 0x9c91
sub edx, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], edx
mov ecx, esp
lea edx, [esp + 0x5f]
mov dword [ecx], edx
mov byte [esp + 0x2b], al
call fcn.00402700
sub esp, 4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
mov bl, byte [esp + 0x52]
mov ecx, esp
mov dword [ecx], eax
mov byte [esp + 0x2a], bl
call fcn.004036d0
sub esp, 4
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x2ce1
mov dword [esp + 0x58], eax
mov bl, byte [esp + 0x2a]
mov bh, byte [esp + 0x2b]
cmp bl, bh
ja 0x4026a0
jmp 0x402634
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
add eax, 0xffffdc85
adc ecx, 0xffffffff
mov edx, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
add esi, 0xffffc509
adc edi, 0xffffffff
mov bl, byte [esp + edx + 0x5f]
mov byte [esp + 0x53], bl
xor ecx, edi
xor eax, esi
or eax, ecx
mov dword [esp + 0x24], eax
je 0x4026d4
jmp 0x402522
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
and eax, eax
and ecx, ecx
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
xor edi, edi
mov ebx, 0x9071
sub ebx, edx
mov dword [esp + 0x20], eax
mov eax, edi
sbb eax, esi
mov dword [esp + 0x1c], eax
mov eax, 0x6ce5
sub eax, edx
sbb edi, esi
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
sub ebx, eax
sbb ecx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
jb 0x4026d4
jmp 0x4026ed
mov eax, 0x7a24
mov ecx, dword [esp + 0x58]
mov dx, cx
sub eax, dword [esp + 0x90]
mov word [esp + 0x7e], dx
mov dx, word [esp + 0x7e]
mov word [esp + 0x84], dx
cmp dword [esp + 0x34], eax
ja 0x4024c5
jmp 0x402559
mov eax, dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
call eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp dword [esp + 0x80], 0x18
jb 0x4025db
jmp 0x402559