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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ec
mov eax, dword [0x43c07c]
xor eax, esp
mov dword [esp + 0x2e8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x68], eax
mov eax, dword [0x43d85c]
mov esi, 0x43d85c
mov ecx, esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x38], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x6c], eax
jle 0x409422
lea eax, [esp + 0x40]
push eax
mov eax, edi
call fcn.00409330
cmp eax, ebx
je 0x409422
mov esi, eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, esi
jmp 0x409ba8
mov eax, dword [0x43d85c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x43d85c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
cmp byte [ebp + 0x10], bl
jne 0x4094b7
lea eax, [edi + 0x50]
lea edi, [esp + 0x1c]
call fcn.004072fc
lea edi, [esp + 0x28]
call fcn.004060b8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004039c4
mov esi, edi
call fcn.004070da
mov eax, dword [esp + 0xc]
add eax, 0x58
lea edi, [esp + 0x24]
call fcn.004060b8
mov esi, edi
call fcn.004070da
mov ecx, dword [esp + 0xc]
lea esi, [esp + 0x1c]
call fcn.00409bbf
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00401663
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004039c4
mov edi, dword [esp + 0xc]
mov esi, 0x43d85c
mov ecx, esi
lea esi, [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004039a9
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], ebx
jle 0x4098ba
push 0x258
call fcn.00423dbb
mov edi, eax
pop ecx
cmp edi, ebx
je 0x40955c
or dword [edi], 0xffffffff
mov byte [edi + 8], 1
xor eax, eax
mov word [edi + 0x28], ax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x230], ebx
mov dword [edi + 0x234], ebx
mov dword [edi + 0x238], ebx
lea eax, [edi + 0x240]
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea esi, [edi + 0x250]
mov ecx, 0x43d85c
mov dword [edi + 0x248], ebx
mov dword [edi + 0x24c], ebx
call fcn.004039a9
jmp 0x40955e
xor edi, edi
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jne 0x4095b6
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
cmp edx, ecx
jb 0x409583
lea edx, [ecx + eax*4]
lea esi, [esp + 0x1c]
cmp esi, edx
jb 0x4099c1
cmp eax, ebx
jne 0x40958c
xor esi, esi
inc esi
jmp 0x40959e
mov esi, dword [esp + 0x14]
add esi, esi
cmp esi, ebx
jl 0x4095cb
cmp esi, 0x1fffffff
ja 0x4095cb
push 4
push esi
push ecx
call fcn.00423cd6
add esp, 0xc
cmp eax, ebx
je 0x4095cb
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*4]
cmp eax, ebx
je 0x4095c7
mov dword [eax], edi
inc dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov eax, esi
lea ecx, [esp + 0x10]
call fcn.004064b3
cmp dword [0x43e510], ebx
mov edi, dword [eax]
lea eax, [edi + 0x10]
mov dword [esp + 0x1c], eax
mov al, byte [ebp + 0x10]
mov dword [esp + 0x2c], edi
mov byte [edi + 8], al
jg 0x409606
lea eax, [esp + 0x40]
call fcn.00418de0
cmp al, bl
je 0x4099cb
mov eax, dword [0x43d85c]
mov ecx, 0x43d85c
call dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.004064b3
mov eax, dword [eax]
cmp byte [ebp + 0x10], bl
je 0x4096f1
mov ecx, dword [esp + 0x38]
mov dword [edi], eax
mov eax, esi
call fcn.004064b3
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
add ecx, 0x60
call fcn.00409d32
mov esi, eax
mov eax, dword [esi]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x18]
push eax
mov eax, dword [esp + 0x10]
add eax, 0x58
lea ecx, [esp + 0x64]
call fcn.00409c2a
cmp dword [esp + 0x38], 9
pop ecx
je 0x40967c
cmp dword [esp + 0x34], 0xa
jne 0x40968b
add edi, 0x250
lea eax, [esp + 0x60]
call fcn.004060b8
lea eax, [esp + 0x60]
lea edi, [esp + 0x70]
call fcn.004072fc
lea edi, [esp + 0x20]
call fcn.004060b8
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, edi
mov edi, dword [esp + 0x1c]
push eax
push ebx
push dword [esi + 0xc]
push ebx
push dword [esi + 0x10]
mov esi, dword [esp + 0x20]
lea eax, [esi + 0x50]
call fcn.00418e5c
mov edi, eax
lea eax, [esi + 0x9c]
push eax
lea eax, [esp + 0x24]
push 1
push eax
call fcn.00407b1c
mov eax, dword [esp + 0x6c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004039c4
jmp 0x409853
mov esi, dword [esp + 0xc]
add esi, 0x84
mov ecx, esi
call fcn.00409d53
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
cmp eax, 9
je 0x409713
cmp eax, 0xa
jne 0x409752
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
call fcn.004064b3
mov eax, dword [eax]
mov ecx, esi
call fcn.00409d53
push eax
mov eax, dword [esp + 0x10]
add eax, 0x58
lea ecx, [esp + 0x40]
call fcn.00409c2a
pop ecx
add edi, 0x250
call fcn.004060b8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
call fcn.004064b3
mov eax, dword [eax]
mov ecx, esi
call fcn.00409d53
push eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x68]
call fcn.00409c2a
mov dword [esp], 0x24c
lea eax, [esp + 0xa8]
push ebx
push eax
mov dword [esp + 0xac], ebx
call fcn.00423730
add esp, 0xc
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x68]
call dword [0x433120]
push 1
push ebx
push ebx
push dword [esp + 0xc8]
mov dword [esp + 0xa0], eax
call fcn.0042ffa0
mov esi, eax
mov eax, dword [esp + 0xc0]
xor ecx, ecx
add esi, eax
adc edx, ecx
cmp dword [esp + 0x34], 6
mov dword [esp + 0x9c], edx
je 0x4097e2
cmp dword [esp + 0x34], 7
jne 0x4097e8
lea eax, [esp + 0x24]
jmp 0x4097ef
mov eax, dword [esp + 0xc]
add eax, 0x58
lea edi, [esp + 0x20]
call fcn.004060b8
mov eax, edi
mov edi, dword [esp + 0x1c]
push eax
push dword [esp + 0xa0]
lea eax, [esp + 0x6c]
push esi
push ebx
push ebx
call fcn.00418e5c
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 0x9c
push eax
lea eax, [esp + 0x24]
push 1
push eax
call fcn.00407b1c
add esp, 0xc
cmp dword [esp + 0x90], ebx
je 0x409843
push dword [esp + 0x90]
call dword [0x43312c]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
call fcn.004039c4
mov esi, dword [esp + 0xc]
cmp edi, ebx
jne 0x409a73
cmp byte [esi + 0x7c], bl
je 0x409876
cmp dword [esp + 0x34], 6
jne 0x409876
lea ebx, [esp + 0x20]
lea esi, [esp + 0x44]
call fcn.00406b45
xor ebx, ebx
mov eax, dword [esp + 0x68]
cmp dword [eax], ebx
je 0x409898
push dword [esp + 0x1c]
call dword [0x43e518]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x248], eax
mov dword [ecx + 0x24c], edx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004039c4
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x6c]
jl 0x4094f4
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.004197ba
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x409acd
mov esi, dword [0x4330cc]
cmp dword [esp + 0x88], ebx
je 0x40991c
push dword [esp + 0x88]
call esi
mov dword [esp + 0x88], ebx
cmp dword [esp + 0x58], ebx
je 0x40992c
push dword [esp + 0x58]
call esi
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.004039c4
lea esi, [esp + 0x44]
call fcn.0040647e
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x2c], eax
jle 0x409984
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.004064b3
mov esi, dword [eax]
cmp esi, ebx
je 0x40997d
mov eax, dword [esi + 0x250]
sub eax, 0x10
call fcn.004039c4
lea eax, [esi + 0x10]
call fcn.00418d7a
push esi
call fcn.00423700
pop ecx
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x40994f
cmp dword [esp + 0x10], ebx
je 0x409998
push dword [esp + 0x10]
call fcn.00423be7
pop ecx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004039c4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004039c4
mov esi, dword [esp + 0x3c]
jmp 0x40940f
push 0x80004005
call fcn.00403985
cmp dword [esp + 0x58], ebx
je 0x4099df
push dword [esp + 0x58]
call dword [0x4330cc]
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.004039c4
lea esi, [esp + 0x44]
call fcn.0040647e
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x2c], eax
jle 0x409a37
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.004064b3
mov esi, dword [eax]
cmp esi, ebx
je 0x409a30
mov eax, dword [esi + 0x250]
sub eax, 0x10
call fcn.004039c4
lea eax, [esi + 0x10]
call fcn.00418d7a
push esi
call fcn.00423700
pop ecx
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x409a02
cmp dword [esp + 0x10], ebx
je 0x409a4b
push dword [esp + 0x10]
call fcn.00423be7
pop ecx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004039c4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004039c4
push 0xb
pop esi
jmp 0x40940f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004039c4
cmp dword [esp + 0x58], ebx
je 0x409a93
push dword [esp + 0x58]
call dword [0x4330cc]
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.004039c4
lea esi, [esp + 0x44]
call fcn.0040647e
lea esi, [esp + 0x10]
call fcn.00409d74
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004039c4
push 0xd
jmp 0x409a6d
mov eax, dword [esi + 8]
lea ecx, [esp + 0x44]
call fcn.00418f05
mov esi, dword [0x4330cc]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x88], ebx
je 0x409afc
push dword [esp + 0x88]
call esi
mov dword [esp + 0x88], ebx
cmp dword [esp + 0x58], ebx
je 0x409b0c
push dword [esp + 0x58]
call esi
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.004039c4
lea esi, [esp + 0x44]
call fcn.0040647e
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x2c], eax
jle 0x409b64
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.004064b3
mov esi, dword [eax]
cmp esi, ebx
je 0x409b5d
mov eax, dword [esi + 0x250]
sub eax, 0x10
call fcn.004039c4
lea eax, [esi + 0x10]
call fcn.00418d7a
push esi
call fcn.00423700
pop ecx
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x409b2f
cmp dword [esp + 0x10], ebx
je 0x409b78
push dword [esp + 0x10]
call fcn.00423be7
pop ecx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004039c4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042370b
mov esp, ebp
pop ebp
ret 0xc