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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46bb9a
push eax
mov eax, dword [0x491884]
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov ebp, ecx
je 0x40978f
push 0x49186c
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.00460856
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], esi
call fcn.004344e4
mov eax, dword [0x48c6ac]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push 0x49186c
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
call fcn.00460971
push 0x49186c
lea ecx, [esp + 0x4c]
call fcn.00460971
push 0x49186c
lea ecx, [esp + 0x50]
call fcn.00460971
push 0x49186c
lea ecx, [esp + 0x54]
call fcn.00460971
mov ecx, dword [0x49187c]
mov bl, 9
mov byte [esp + 0x74], bl
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x40970e
jmp 0x4094b6
xor esi, esi
cmp edi, 0xa
jge 0x409670
lea esi, [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 8]
lea eax, [esi + 0xc]
lea ecx, [esp + 0x48]
push eax
mov dword [esp + 0x48], edx
call fcn.00460921
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x50]
call fcn.00460921
lea edx, [esi + 0x14]
lea ecx, [esp + 0x50]
push edx
call fcn.00460921
lea eax, [esi + 0x18]
lea ecx, [esp + 0x54]
push eax
call fcn.00460921
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00460921
lea edx, [esi + 0x20]
lea ecx, [esp + 0x5c]
push edx
call fcn.00460921
lea eax, [esi + 0x24]
lea ecx, [esp + 0x60]
push eax
call fcn.00460921
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov edx, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 0x68], edx
jne 0x409653
mov eax, dword [esp + 0x3c]
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x74], 0xa
mov dword [esp + 0x4c], esp
mov dword [esp + 0x4c], esi
mov dword [esi], eax
mov ecx, dword [esp + 0x70]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x78]
lea ecx, [esi + 0xc]
push eax
mov dword [esi + 8], edx
call fcn.0046055d
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 0xa
push ecx
lea ecx, [esi + 0x10]
call fcn.0046055d
lea edx, [esp + 0x80]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0xa8], 0xb
call fcn.0046055d
lea eax, [esp + 0x84]
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0xa8], 0xc
call fcn.0046055d
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 0xd
push ecx
lea ecx, [esi + 0x1c]
call fcn.0046055d
lea edx, [esp + 0x8c]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0xa8], 0xe
call fcn.0046055d
lea eax, [esp + 0x90]
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0xa8], 0xf
call fcn.0046055d
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x48]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x98]
push eax
mov ecx, ebp
mov dword [esi + 0x2c], edx
mov byte [esp + 0xa8], bl
call fcn.0040b5c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x10
call fcn.00460c00
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004607e8
inc edi
lea ecx, [esp + 0x14]
call fcn.0040c7d0
mov ecx, dword [0x49187c]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x4094b4
xor esi, esi
cmp edi, esi
jle 0x40970e
mov ecx, dword [0x491914]
cmp dword [ecx - 8], esi
jle 0x40970e
lea edx, [esp + 0x10]
push 0x48a5a0
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00460a7d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x11
call fcn.00460921
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004607e8
lea ecx, [esp + 0x10]
push 0x491914
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00460a17
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x12
call fcn.00460921
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004607e8
push edi
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0046055d
mov ecx, ebp
call fcn.0040a4b0
push 0x49186c
lea ecx, [esp + 0x14]
call fcn.00460971
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 0x18
call fcn.004607e8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0x17
call fcn.004607e8
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 0x16
call fcn.004607e8
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 0x15
call fcn.004607e8
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0x14
call fcn.004607e8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0x13
call fcn.004607e8
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 1
call fcn.004607e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0
call fcn.00434521
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
call fcn.004607e8
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret