Function at 0x4029f0
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 + 8]
lea ecx, section..data
mov byte [esp + 0xab], 0xd9
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0x6649
mov word [esp + 0x8e], 0x16e2
mov byte [esp + 0x8d], 0x56
mov dword [esp + 0x88], 0x47bd
mov byte [esp + 0x57], 0x7a
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
mov edi, edx
xor edi, 0x3463
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov bl, byte [esp + 0x8d]
mov byte [esp + 0xab], bl
mov bh, 0x63
sub bh, bl
mov byte [esp + 0x7f], bh
mov edi, 0x7cdb
mov dword [esp + 0x34], eax
mov eax, edx
mov dword [esp + 0x30], edx
mul edi
imul edi, esi, 0x7cdb
add edx, edi
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x88]
mov edx, ecx
add edx, 0xffffb843
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x88]
add edx, 0xffffb843
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0
mov byte [esp + 0x2f], bl
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
jmp 0x402b37
cmp dword [esp + 0x80], 0x3e
jb 0x402ba8
jmp 0x402c7a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
shl ecx, 4
add eax, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x5c]
shl eax, 4
add eax, dword [esp + 0x78]
mov eax, dword [eax + 0xc]
mov dl, byte [esp + 0x57]
mov dword [esp + 0x74], eax
cmp dl, 0xa8
jae 0x402d1c
jmp 0x402c54
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
xor ecx, 0x7f52
mov edx, dword [esp + 0x28]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], ecx
mov si, word [esp + 0xa8]
sub si, word [esp + 0xa8]
mov word [esp + 0xa8], si
cmp eax, 0x3e
jb 0x402afc
jmp 0x402d97
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x88]
xor ecx, 0x47bd
mov dword [eax + 0xc], 0x2800
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ax, word [esp + 0xa8]
xor ax, 0x1846
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
shl edx, 4
add ecx, edx
mov word [esp + 0xa8], ax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
shl edx, 4
add ecx, edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
shl edx, 4
add ecx, edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x64]
xor ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x24]
xor edx, 0xffffffff
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x9c], edx
add ebx, esi
mov edx, esp
mov dword [edx + 8], edi
mov dword [edx + 4], ecx
mov dword [edx], ebx
call fcn.00401073
sub esp, 0xc
mov ecx, dword [esp + 0x6c]
add ecx, dword [esp + 0x68]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], eax
jmp 0x402d5a
mov eax, dword [esp + 0x84]
xor eax, dword [esp + 0x74]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
jmp 0x402d80
movzx eax, word [esp + 0x8e]
xor eax, 0x26e1
mov cx, ax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi], eax
mov word [esp + 0x1e], cx
call fcn.00401028
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x88]
add edx, 0x3b043
add eax, 0x7f93
mov esi, dword [esp + 0x40]
mov bl, byte [esp + 0x2f]
mov byte [esp + 0xab], bl
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov word [esp + 0x3a], 0x112c
mov cx, 0x112c
mov esi, dword [esp + 0x30]
add esi, esi
mov edi, dword [esp + 0x28]
adc edi, edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], esi
mov dword [eax + 4], edx
mov eax, dword [esp + 0x44]
add eax, 0x3492
mov dword [esp + 0x60], eax
mov si, word [esp + 0x1e]
cmp cx, si
jae 0x402ba8
jmp 0x402b79
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov esi, 0x6347
sub esi, eax
sbb edx, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
jb 0x402d80
jmp 0x402ae9
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x88]
xor ecx, 0x47bc
add eax, ecx
mov dword [esp + 0x5c], eax
jmp 0x402b37
mov eax, dword [esp + 0x88]
mov byte [esp + 0xab], 0x74
mov ecx, dword [esp + 0x80]
add eax, 0xffffb844
add ecx, eax
mov dword [esp + 0x80], ecx
jmp 0x402d1c
mov al, 0xde
mov cl, byte [esp + 0x7f]
sub al, byte [esp + 0x8d]
cmp al, cl
jb 0x402c7a
jmp 0x402d3e
mov eax, 0x47c1
sub eax, dword [esp + 0x88]
mov ecx, esp
mov dword [ecx], 0x429b9d
mov dword [esp + 0x10], eax
call fcn.0040103c
sub esp, 4
mov ecx, 0x57bd
mov dword [esp + 0x3c], eax
sub ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov esi, esp
mov edi, dword [esp + 0x10]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 0
call edx
sub esp, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x80], 0
jmp 0x402d1c