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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [ebp + 0xc]
lea eax, [esi + 0x130]
push ecx
mov dword [esp + 0x48], eax
call fcn.004f96e0
mov dword [esp + 0x48], esi
add esi, 0x24
xor ebx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], ebx
jmp 0x493fa0
mov esi, dword [esp + ebx*4 + 0x48]
mov dword [esp + 0x14], esi
call fcn.00535fe0
call dword [0x100cf08c]
mov edx, dword [esi + 8]
mov edi, eax
cmp edi, edx
lea eax, [esi + 8]
je 0x493fe6
mov ecx, dword [eax]
test ecx, ecx
jne 0x494198
push ecx
push edi
push eax
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x494198
mov dword [esi + 0x10], 0
add dword [esi + 0x10], 1
mov byte [esp + 0x13], 1
mov eax, esi
call fcn.00509070
test eax, eax
mov dword [esp + 0x34], eax
je 0x494271
push 4
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x48], eax
call dword [0x100ef7e8]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x38]
push ecx
lea eax, [esp + 0x20]
mov ecx, esi
call fcn.004a3130
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], edi
add edi, 8
call fcn.00535fe0
call dword [0x100cf08c]
mov edx, dword [edi + 8]
lea ebx, [edi + 8]
mov esi, eax
cmp esi, edx
je 0x494071
mov eax, dword [ebx]
test eax, eax
jne 0x4941b0
push eax
push esi
push ebx
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x4941b0
mov dword [edi + 0x10], 0
add dword [edi + 0x10], 1
mov al, 1
test al, al
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 0x20]
je 0x4940b7
add dword [edi + 0x10], 0xffffffff
jne 0x4940b7
push 0
push ebx
mov dword [edi + 0x10], 0
call dword [0x100cf084]
mov edx, dword [edi + 0xc]
test edx, edx
lea eax, [edi + 0xc]
jle 0x4940b7
push eax
call dword [0x100cf080]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100cf088]
cmp esi, dword [ebp + 0xc]
je 0x494158
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], edi
add edi, 8
call fcn.00535fe0
call dword [0x100cf08c]
mov ecx, dword [edi + 8]
lea esi, [edi + 8]
mov ebx, eax
cmp ebx, ecx
je 0x494109
mov edx, dword [esi]
test edx, edx
jne 0x4941c4
push edx
push ebx
push esi
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x4941c4
mov dword [edi + 0x10], 0
add dword [edi + 0x10], 1
mov al, 1
test al, al
mov ecx, dword [esp + 0x28]
mov ebx, dword [ecx + 0x24]
je 0x49414f
add dword [edi + 0x10], 0xffffffff
jne 0x49414f
push 0
push esi
mov dword [edi + 0x10], 0
call dword [0x100cf084]
mov edx, dword [edi + 0xc]
test edx, edx
lea eax, [edi + 0xc]
jle 0x49414f
push eax
call dword [0x100cf080]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100cf088]
cmp ebx, dword [ebp + 0xc]
jne 0x494245
call fcn.00535fe0
call dword [0x100cf08c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
add ebx, 8
mov esi, eax
cmp esi, ecx
je 0x4941f1
mov edx, dword [ebx]
test edx, edx
jne 0x4941d8
push edx
push esi
push ebx
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x4941d8
mov edi, dword [esp + 0x14]
mov dword [edi + 0x10], 0
jmp 0x4941f5
push edi
push esi
call fcn.00476270
test al, al
jne 0x493fe6
mov byte [esp + 0x13], al
jmp 0x493fef
push esi
push edi
call fcn.00476270
test al, al
jne 0x494071
jmp 0x494077
push ebx
push edi
call fcn.00476270
test al, al
jne 0x494109
jmp 0x49410f
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.00476270
test al, al
jne 0x4941f1
mov edi, dword [esp + 0x14]
mov byte [esp + 0x12], al
jmp 0x4941fe
mov edi, dword [esp + 0x14]
add dword [edi + 0x10], 1
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x40]
mov ecx, edi
call fcn.004a4910
cmp byte [esp + 0x12], 0
je 0x494245
add dword [edi + 0x10], 0xffffffff
jne 0x494245
push 0
push ebx
mov dword [edi + 0x10], 0
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x494245
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49425d
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x34]
test eax, eax
mov esi, dword [esp + 0x14]
jne 0x494002
mov ebx, dword [esp + 0x38]
cmp byte [esp + 0x13], 0
je 0x4942b0
add dword [esi + 0x10], 0xffffffff
jne 0x4942b0
push 0
lea eax, [esi + 8]
push eax
mov dword [esi + 0x10], 0
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4942b0
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
add ebx, 1
cmp ebx, 2
mov dword [esp + 0x38], ebx
jb 0x493fa0
mov edi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 0xc]
lea esi, [edi + 0x19c]
push ecx
mov eax, esi
call fcn.004a3a30
test eax, eax
je 0x494316
lea edx, [ebp + 0xc]
push edx
mov eax, esi
call fcn.004a3d50
mov eax, dword [0x100ef48c]
test eax, eax
je 0x49430b
mov edx, dword [eax + 0x2b0]
lea ecx, [eax + 0x2b0]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
jmp 0x494316
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x100cf21c]
mov edx, dword [ebp + 0xc]
push edx
push edi
lea ebx, [esp + 0x28]
lea edi, [esp + 0x44]
call fcn.00494600
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
jne 0x49436c
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x49434c
call dword [0x100cf0b8]
test eax, eax
je 0x494359
push ebx
push ebx
push ebx
push esi
call dword [0x100cf0bc]
mov dword [esp + 0x1c], 1
jmp 0x494559
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00494690
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x49455c
mov ecx, dword [0x100ef48c]
lea edx, [esp + 0x70]
push edx
mov edx, dword [ecx + 0xb68]
push 0x38
lea eax, [esp + 0xf0]
push eax
mov eax, dword [edx + 0x24]
add ecx, 0xb68
push ebx
push edi
call eax
call eax
test eax, eax
jne 0x4943c1
cmp dword [esp + 0xf0], 1
jne 0x49455c
mov eax, dword [esi + 0x74]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x8c], bx
mov word [esp + 0x8e], bx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x64], 0x18
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.0049bf30
test eax, eax
je 0x49446b
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0x9c]
jl 0x49446b
mov ecx, dword [esp + 0x90]
mov esi, dword [ecx + 8]
cmp esi, ebx
je 0x494448
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
test eax, eax
je 0x494460
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push 1
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [ebp + 8]
mov eax, dword [0x100ef48c]
push 8
lea ecx, [esp + 0x7c]
add eax, 0x280
push ecx
mov dword [esp + 0x28], eax
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x20]
push 5
push 0x18
lea edx, [esp + 0xd8]
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x84]
push eax
mov eax, dword [edx + 0x24]
push edi
call eax
call eax
test eax, eax
jne 0x494507
cmp byte [esp + 0xe4], 1
jne 0x494507
lea ecx, [esp + 0x2c]
push ecx
push edi
mov eax, esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], bx
mov word [esp + 0x36], bx
call fcn.0049ad00
test eax, eax
jne 0x4944fe
lea edx, [ebp + 0xc]
push edx
lea eax, [esi + 0x48]
call fcn.004a2520
test eax, eax
je 0x4944fe
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x54], ecx
call fcn.004a0ed0
lea eax, [esp + 0x2c]
call fcn.00505660
lea edx, [esp + 0x88]
push edx
call fcn.004a4660
mov edi, dword [esp + 0x84]
cmp edi, ebx
je 0x49455c
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0xb4]
call fcn.00532c00
mov eax, dword [0x100ef808]
push edi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0xcc], bl
je 0x49455c
mov esi, dword [esp + 0xc8]
call fcn.005154d0
mov esi, dword [ebp + 8]
push 4
lea ecx, [esp + 0x28]
push ecx
call dword [0x100ef7e8]
lea edx, [esp + 0x24]
push edx
lea eax, [ebp + 0xc]
lea edi, [esi + 0x178]
push eax
mov eax, edi
call fcn.004a3490
test eax, eax
je 0x49458e
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x49459e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp + 0xc]
push eax
mov eax, edi
call fcn.004a3640
mov eax, dword [esp + 0x44]
lea ecx, [ebp + 0xc]
push ecx
call fcn.004f96e0
lea edx, [ebp + 0xc]
push edx
add esi, 0x154
call fcn.004a2ab0
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
add esi, 0x48
call fcn.004a2ab0
cmp dword [esp + 0x1c], ebx
je 0x4945ed
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [edx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10