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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ebp, pe_nt_image_headers32
mov eax, dword [esp + 0x70]
cmp eax, 0xfffffffc
je 0x4310ea
test eax, eax
je 0x4310e1
cmp eax, dword [esp + 0x78]
je 0x4310ea
call fcn.0043c74a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x74], ecx
je 0x431535
cmp eax, 0xfffffffc
je 0x43112b
test eax, eax
jne 0x43110a
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x431114
mov ecx, dword [eax + 4]
jmp 0x431117
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x43112b
call fcn.0043c74a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0x26
jne 0x43122a
mov ecx, dword [edi + 0x18]
sub ecx, dword [edi + 0x14]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x431156
call fcn.0043c74a
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x48], edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x431194
call fcn.0043c74a
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x14], 0
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push ecx
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00431020
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
add esp, 0x18
cmp eax, 0xfffffffc
je 0x431221
test eax, eax
jne 0x431200
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x43120a
mov ecx, dword [eax + 4]
jmp 0x43120d
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x431221
call fcn.0043c74a
mov eax, dword [esp + 0x70]
inc dword [esp + 0x74]
jmp 0x4310d2
cmp eax, 0xfffffffc
je 0x43125d
test eax, eax
jne 0x43123c
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x431246
mov ecx, dword [eax + 4]
jmp 0x431249
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x43125d
call fcn.0043c74a
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp byte [ebx], 0x5c
je 0x43132b
mov esi, eax
cmp eax, 0xfffffffc
je 0x43129b
test eax, eax
jne 0x43127e
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x431288
mov ecx, dword [eax + 4]
jmp 0x43128b
lea ecx, [eax + 4]
mov eax, dword [eax + 0x14]
add eax, ecx
cmp dword [esp + 0x74], eax
jb 0x43129b
call fcn.0043c74a
inc dword [esp + 0x74]
cmp esi, 0xfffffffc
je 0x4312c8
test esi, esi
jne 0x4312ad
call fcn.0043c74a
cmp dword [esi + 0x18], ebp
jb 0x4312b7
mov eax, dword [esi + 4]
jmp 0x4312ba
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebx, ecx
jb 0x4312c8
call fcn.0043c74a
mov eax, dword [esp + 0x6c]
mov dl, byte [ebx]
mov ebx, dword [eax + 0x18]
mov ebp, eax
add eax, 4
mov byte [esp + 0x1c], dl
cmp ebx, 0x10
jb 0x4312e3
mov ecx, dword [eax]
jmp 0x4312e5
mov ecx, eax
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x14]
lea esi, [ecx + edx]
test esi, esi
je 0x43130f
cmp ebx, 0x10
jb 0x4312fc
mov ecx, dword [eax]
jmp 0x4312fe
mov ecx, eax
cmp ecx, esi
ja 0x43130f
cmp ebx, 0x10
jb 0x431309
mov eax, dword [eax]
add eax, edx
cmp esi, eax
jbe 0x431314
call fcn.0043c74a
mov eax, dword [esp + 0x1c]
push esi
push ebp
push eax
lea ecx, [esp + 0x34]
push ecx
push ebp
call fcn.00402f80
jmp 0x4310c9
cmp eax, 0xfffffffc
je 0x43135e
test eax, eax
jne 0x43133d
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x431347
mov ecx, dword [eax + 4]
jmp 0x43134a
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x43135e
call fcn.0043c74a
mov eax, dword [esp + 0x70]
inc dword [esp + 0x74]
cmp eax, 0xfffffffc
je 0x43137a
test eax, eax
je 0x431371
cmp eax, dword [esp + 0x78]
je 0x43137a
call fcn.0043c74a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x74], ecx
je 0x4310d2
cmp eax, 0xfffffffc
je 0x4313bb
test eax, eax
jne 0x43139a
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x4313a4
mov ecx, dword [eax + 4]
jmp 0x4313a7
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x4313bb
call fcn.0043c74a
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp byte [ebx], 0x30
jl 0x4314c5
cmp eax, 0xfffffffc
je 0x4313fb
test eax, eax
jne 0x4313da
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x4313e4
mov ecx, dword [eax + 4]
jmp 0x4313e7
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x4313fb
call fcn.0043c74a
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp byte [ebx], 0x39
jg 0x4314c5
mov esi, eax
cmp eax, 0xfffffffc
je 0x431439
test eax, eax
jne 0x43141c
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x431426
mov ecx, dword [eax + 4]
jmp 0x431429
lea ecx, [eax + 4]
mov eax, dword [eax + 0x14]
add eax, ecx
cmp dword [esp + 0x74], eax
jb 0x431439
call fcn.0043c74a
inc dword [esp + 0x74]
cmp esi, 0xfffffffc
je 0x431466
test esi, esi
jne 0x43144b
call fcn.0043c74a
cmp dword [esi + 0x18], ebp
jb 0x431455
mov eax, dword [esi + 4]
jmp 0x431458
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebx, ecx
jb 0x431466
call fcn.0043c74a
movsx ebx, byte [ebx]
sub ebx, 0x30
lea esi, [esp + 0x38]
call fcn.00431bb0
mov edx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea esi, [esp + 0x4c]
mov dword [esp + 0x30], edx
call fcn.00431bb0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push ecx
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.00431020
mov eax, dword [esp + 0x3c]
add esp, 0x18
mov dword [esp + 0x6c], eax
jmp 0x4310c9
mov esi, eax
cmp eax, 0xfffffffc
je 0x4314f6
test eax, eax
jne 0x4314d9
call fcn.0043c74a
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x4314e3
mov ecx, dword [eax + 4]
jmp 0x4314e6
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x4314f6
call fcn.0043c74a
inc dword [esp + 0x74]
cmp esi, 0xfffffffc
je 0x431523
test esi, esi
jne 0x431508
call fcn.0043c74a
cmp dword [esi + 0x18], ebp
jb 0x431512
mov eax, dword [esi + 4]
jmp 0x431515
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebx, ecx
jb 0x431523
call fcn.0043c74a
movzx edx, byte [ebx]
mov esi, dword [esp + 0x6c]
push edx
call fcn.00402d50
jmp 0x4310ce
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x54
ret