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

Disassembly:
sub esp, 0x78
mov eax, dword [0x10075e70]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push eax
lea edi, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00498aa0
mov ecx, dword [esp + 0x34]
cmp word [ecx], bx
mov eax, ecx
je 0x493290
mov esi, 0x1005f9b0
sub esi, ecx
movzx edx, word [esi + eax]
cmp dx, bx
je 0x493290
cmp word [eax], dx
jne 0x49328e
add eax, 2
cmp word [eax], bx
jne 0x493276
jmp 0x493290
mov eax, ecx
push eax
lea edi, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00498aa0
mov esi, dword [esp + 0x40]
push esi
lea edi, [esp + 0x38]
call fcn.00498aa0
cmp esi, ebx
je 0x4932bf
mov eax, esi
call fcn.004b16a0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x64], 0x10060cf0
mov dword [esp + 0x68], 0x10060d08
mov dword [esp + 0x6c], 0x10060d1c
mov dword [esp + 0x70], 0x10060d34
mov dword [esp + 0x74], 0x10060d50
mov dword [esp + 0x78], 0x10060d68
mov dword [esp + 0x7c], 0x10060d7c
mov dword [esp + 0x80], 0x10060d90
mov dword [esp + 0x84], ecx
mov dword [esp + 0x10], ebx
push 0x200
xor eax, eax
mov dword [esp + 0x34], 0xff
call fcn.004b15e0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + edx*4 + 0x68]
add esp, 4
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov word [eax], bx
call dword [0x1005f040]
cmp eax, 2
jl 0x493392
cmp word [ebp + 2], 0x3a
jne 0x493392
push ebp
lea edi, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00498aa0
mov esi, dword [esp + 0x40]
push esi
lea edi, [esp + 0x2c]
call fcn.00498aa0
cmp esi, ebx
je 0x493471
mov eax, esi
call fcn.004b16a0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
jmp 0x493471
push 2
call fcn.004b1530
add esp, 4
mov edi, eax
push 1
push edi
call dword [0x1005f1a4]
mov esi, eax
add esi, 1
cmp edi, ebx
je 0x4933b7
mov eax, edi
call fcn.004b16a0
lea eax, [esi + esi]
push eax
call fcn.004b1530
add esp, 4
mov edi, eax
push esi
push edi
mov dword [esp + 0x1c], edi
call dword [0x1005f1a4]
push edi
lea edi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00498aa0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4933f4
call fcn.004b16a0
push ebp
push 0x10060788
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00497ac0
add esp, 0xc
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00497ac0
mov ecx, dword [eax]
add esp, 0xc
push ecx
lea edi, [esp + 0x2c]
call fcn.00498aa0
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x49343f
call fcn.004b16a0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x493458
call fcn.004b16a0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x493471
call fcn.004b16a0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
push esi
call eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
push esi
call eax
mov ecx, dword [esp + 0xb0]
push eax
push esi
push ecx
call fcn.00493550
add esp, 0x30
test eax, eax
jne 0x49352a
cmp esi, ebx
je 0x4934ff
mov eax, esi
call fcn.004b16a0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 9
mov dword [esp + 0x10], eax
jb 0x493311
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x493520
call fcn.004b16a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
cmp esi, ebx
je 0x493535
mov eax, esi
call fcn.004b16a0
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x493542
call fcn.004b16a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x78
ret