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

Disassembly:
sub esp, 0x38
xor eax, eax
push ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
mov dword [esp + 4], eax
mov eax, dword [eax]
cmp byte [eax + 0x1e], 0
mov dword [esp + 0x44], eax
jne 0x431eed
mov eax, dword [esp + 0x48]
lea eax, [eax + eax*4]
push ebx
add eax, eax
push esi
mov esi, dword [ebp + 4]
push edi
mov edi, dword [ebp + 0x1c]
add eax, eax
add eax, eax
mov ebx, dword [edi + eax]
add edi, eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
push eax
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
call fcn.0040cea0
mov dword [esp + 0x48], eax
movzx eax, byte [ebx]
add esp, 8
cmp eax, 0x48
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], eax
jne 0x431b1f
test word [ebx + 2], 0x800
je 0x431b13
mov eax, dword [ebx + 0x10]
push esi
call fcn.004094b0
add esp, 4
jmp 0x431b38
mov ecx, dword [ebx + 0x10]
push ecx
push esi
call fcn.0040fbd0
jmp 0x431b35
cmp eax, 0x49
jne 0x431b2b
xor eax, eax
mov dword [edi + 0x1c], eax
jmp 0x431b3b
mov edx, dword [ebx + 0xc]
push edx
push esi
call fcn.0040cea0
add esp, 8
mov dword [edi + 0x1c], edx
push ebx
push esi
mov dword [edi + 0x18], eax
call fcn.0040cea0
add esp, 8
test byte [ebx + 2], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
je 0x431b79
movsx esi, word [ebx + 0x20]
mov edx, dword [esp + 0x1c]
call fcn.00409530
or dword [esp + 0x30], eax
or dword [esp + 0x34], edx
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x20], eax
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov eax, esi
mov dword [edi + 0x24], ecx
mov word [edi + 0x10], 0
call fcn.00409490
test eax, eax
je 0x431cb9
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
and eax, dword [esp + 0x40]
and ecx, dword [esp + 0x44]
or eax, ecx
jne 0x431cb9
mov eax, dword [ebx + 8]
cmp byte [eax], 0x98
mov edx, dword [ebx + 0xc]
jne 0x431be2
mov ecx, dword [eax + 0x18]
mov dword [edi + 8], ecx
movsx eax, word [eax + 0x1c]
mov dword [edi + 0xc], eax
mov eax, esi
call fcn.00409460
mov word [edi + 0x10], ax
test edx, edx
je 0x431cb9
cmp byte [edx], 0x98
jne 0x431cb9
cmp dword [edi + 8], 0
jl 0x431c62
mov ecx, dword [esp + 0x50]
push 0
push ebx
push ecx
call fcn.00418010
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp byte [eax + 0x1e], 0
je 0x431c27
push esi
push eax
call fcn.004117e0
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x38
ret
push 3
mov ebx, esi
mov edi, ebp
call fcn.00413930
add esp, 4
test eax, eax
je 0x431eea
mov ecx, dword [esp + 0x54]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + edx*8]
mov dword [eax + 4], ecx
mov edi, dword [ebp + 0x1c]
add edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
or byte [edi + 0x12], 8
mov byte [edi + 0x13], 1
jmp 0x431c68
mov esi, ebx
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x10]
call fcn.0041f580
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x24]
mov dword [edx + 8], ecx
movsx eax, word [eax + 0x1c]
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x38]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
movzx eax, byte [esi]
call fcn.00409460
mov ebx, dword [esp + 0x18]
mov word [edx + 0x10], ax
cmp byte [ebp + 0x10], 0x45
jne 0x431e1c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x38]
mov eax, ebx
call fcn.00431550
add esp, 0xc
test eax, eax
je 0x431e1c
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0xc]
mov edi, dword [esp + 0x28]
mov ebx, dword [edx + 0x14]
mov esi, dword [esp + 0x50]
push 0
push edi
push esi
mov dword [esp + 0x30], ebx
call fcn.00418010
mov edx, dword [esp + 0x38]
add esp, 0xc
cmp byte [esi + 0x1e], 0
mov dword [esp + 0x28], eax
jne 0x431d42
mov ecx, dword [eax + 4]
call fcn.0040c510
test edx, edx
lea ecx, [eax + ecx - 1]
mov al, byte [ecx]
je 0x431d3e
cmp al, 0x40
jne 0x431d35
mov dword [esp + 0x14], 0
movzx eax, al
mov al, byte [eax + 0x45faf8]
add al, 1
mov byte [ecx], al
test edx, edx
mov edx, str.NOCASE
jne 0x431d50
mov edx, str.BINARY
push 1
xor ecx, ecx
mov eax, esi
call fcn.00416800
mov ecx, dword [esp + 0x54]
push 0
push ebx
push ecx
mov esi, eax
call fcn.00418010
mov ecx, esi
call fcn.0040a1b0
mov edx, dword [esp + 0x20]
push eax
xor eax, eax
push edx
lea ecx, [eax + 0x50]
call fcn.00420b40
push 3
mov ebx, eax
mov edi, ebp
call fcn.00413930
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
push ebp
push eax
call fcn.00431a80
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
push 0
push ecx
push edx
call fcn.00418010
mov ecx, esi
call fcn.0040a1b0
mov edi, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x48]
push eax
xor eax, eax
lea ecx, [eax + 0x4f]
call fcn.00420b40
push 3
mov ebx, eax
mov edi, ebp
call fcn.00413930
mov ecx, dword [esp + 0x8c]
add esp, 0x40
mov esi, eax
push esi
push ebp
push ecx
call fcn.00431a80
mov edi, dword [ebp + 0x1c]
add edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x431e1c
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x54]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [ebp + 0x1c]
lea edx, [esi + esi*4]
mov dword [ecx + edx*8 + 4], eax
mov byte [edi + 0x13], 2
mov esi, ebx
call fcn.0040ce70
test eax, eax
je 0x431edc
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax]
mov esi, dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
push ebx
push eax
call fcn.0040cea0
mov ecx, dword [esp + 0x24]
push esi
push ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
call fcn.0040cea0
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
add esp, 0x10
or eax, edx
jne 0x431edc
mov edx, dword [esp + 0x50]
push eax
push ebx
push edx
call fcn.00418010
mov edi, eax
mov eax, dword [esp + 0x1c]
push 0
push eax
xor eax, eax
lea ecx, [eax + 0x32]
call fcn.00420b40
push 3
mov ebx, eax
mov edi, ebp
call fcn.00413930
mov edx, dword [ebp + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x18]
mov dword [eax + 8], ecx
movsx edx, word [esi + 0x1c]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], 0x40
mov dword [eax + 4], ecx
mov edi, dword [ebp + 0x1c]
add edi, dword [esp + 0x38]
add esp, 0x18
mov edx, dword [edi + 0x20]
or byte [edi + 0x12], 8
mov byte [edi + 0x13], 1
mov dword [eax + 0x20], edx
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
or dword [edi + 0x18], edx
or dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x38
ret