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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
lea ecx, section..data
mov dl, 0xb3
mov byte [esp + 0xb3], 0x89
mov dword [esp + 0x9c], 0x74d0
mov dword [esp + 0xa4], 0x3fcf
mov byte [esp + 0x7f], 0x38
mov dh, byte [esp + 0xb3]
sub dl, dh
mov byte [esp + 0x37], dl
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x9c]
mov ecx, eax
xor ecx, 0x74d0
mov dword [esp + 0x78], ecx
mov byte [esp + 0x2f], dh
mov dword [esp + 0x28], eax
jmp 0x401ab5
mov eax, dword [esp + 0x94]
mov dword [esp + 0x8c], eax
jmp 0x4019b1
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
xor eax, 0x74d0
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x9c]
add ecx, 0xffff9b30
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x98]
mov edi, esp
mov dword [edi + 8], ecx
mov dword [edi + 4], edx
mov dword [edi + 0xc], 4
mov dword [edi], 0
mov dword [esp + 0x24], eax
call esi
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
jmp 0x4019b1
mov eax, 0x74d1
sub eax, dword [esp + 0x9c]
add eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
jmp 0x401ab5
mov eax, 0x796c
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov edx, dword [esp + 0x9c]
xor edx, 0x6924
mov dword [esp + 0xa4], eax
mov eax, esp
mov dword [eax], 0
mov dword [esp + 0x20], edx
call fcn.00401120
mov eax, dword [esp + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x9c]
xor ecx, 0x74d1
add eax, ecx
mov dword [esp + 0x94], eax
mov dx, word [esp + 0xb0]
add dx, word [esp + 0xb0]
mov bl, byte [esp + 0xb3]
xor bl, 0x95
mov word [esp + 0xb0], dx
cmp byte [esp + 0x7f], bl
ja 0x401895
jmp 0x401925
mov eax, 0x7602
sub eax, dword [esp + 0x9c]
cmp dword [esp + 0x8c], eax
jb 0x401b82
jmp 0x401b0b
mov al, 0x30
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
mov dword [ecx + 8], 0xe
mov dword [ecx + 4], 0x4010b3
mov byte [esp + 0x1f], al
mov dword [esp + 0x18], edx
call fcn.00401c50
sub esp, 0xc
mov ecx, esp
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
call fcn.00402230
sub esp, 4
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
xor ecx, 0x7389
mov bl, byte [esp + 0xb3]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ecx
mov bh, byte [esp + 0x1f]
sub bh, bl
mov dword [esp + 0x90], eax
cmp bh, byte [esp + 0x37]
ja 0x4018a8
jmp 0x401ab5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
imul ecx, ecx, 0x4c
mov edx, dword [esp + 0x28]
imul edx, edx
mov esi, dword [esp + 0x9c]
add esi, 0xffffecfb
mov dword [esp + 0xa4], edx
mov dword [esp + 0x68], esi
mov eax, dword [eax + ecx + 0x11]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
imul ecx, ecx, 0x4c
mov eax, dword [eax + ecx + 0x25]
mov dword [esp + 0xac], 0xffffffff
mov dword [esp + 0xa8], 0xffffce94
mov dword [esp + 0x88], eax
cmp esi, 0x2fa7
jb 0x401963
jmp 0x401ae3
mov ax, word [esp + 0xb0]
mov word [esp + 0xb0], ax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x9c]
add edx, 0xffff8c62
cmp ecx, edx
jb 0x401a49
jmp 0x4019cf
mov eax, dword [esp + 0x88]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
xor eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
jmp 0x40190c
mov al, byte [esp + 0x2f]
not al
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0xa3], al
mov edx, dword [esp + 0x3c]
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
mov dword [esi], edx
call fcn.00401e20
sub esp, 0xc
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x9c]
mov esi, edx
add esi, 0x25730
mov edi, dword [esp + 0x38]
add ecx, 0x1a4d3
xor edx, 0x5590
mov dword [edi], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], esi
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
add esi, 0x5372
mov dword [ecx + 8], esi
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x40]
imul eax, eax, 0x4c
mov eax, dword [ecx + eax + 0x11]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x40]
imul eax, eax, 0x4c
mov eax, dword [ecx + eax + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
imul eax, eax, 0x4c
add ecx, eax
mov eax, dword [ecx + 0x25]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
xor eax, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x84]
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], edx
call fcn.00403550
sub esp, 0xc
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x84]
mov dword [esp + 0x84], ecx
mov di, word [esp + 0xb0]
imul di, word [esp + 0xb0]
mov word [esp + 0xb0], di
mov dword [esp + 0x14], eax
jmp 0x401963