Function at 0x643f60
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.006a96e0
mov dword [esp + 0x48], esi
add esi, 0x24
xor ebx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], ebx
jmp 0x643fa0
mov esi, dword [esp + ebx*4 + 0x48]
mov dword [esp + 0x14], esi
call fcn.006e5fe0
call dword [0x100cf08c]
mov edx, dword [esi + 8]
mov edi, eax
cmp edi, edx
lea eax, [esi + 8]
je 0x643fe6
mov ecx, dword [eax]
test ecx, ecx
jne 0x644198
push ecx
push edi
push eax
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x644198
mov dword [esi + 0x10], 0
add dword [esi + 0x10], 1
mov byte [esp + 0x13], 1
mov eax, esi
call fcn.006b9070
test eax, eax
mov dword [esp + 0x34], eax
je 0x644271
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.00653130
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], edi
add edi, 8
call fcn.006e5fe0
call dword [0x100cf08c]
mov edx, dword [edi + 8]
lea ebx, [edi + 8]
mov esi, eax
cmp esi, edx
je 0x644071
mov eax, dword [ebx]
test eax, eax
jne 0x6441b0
push eax
push esi
push ebx
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6441b0
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 0x6440b7
add dword [edi + 0x10], 0xffffffff
jne 0x6440b7
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 0x6440b7
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 0x644158
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], edi
add edi, 8
call fcn.006e5fe0
call dword [0x100cf08c]
mov ecx, dword [edi + 8]
lea esi, [edi + 8]
mov ebx, eax
cmp ebx, ecx
je 0x644109
mov edx, dword [esi]
test edx, edx
jne 0x6441c4
push edx
push ebx
push esi
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6441c4
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 0x64414f
add dword [edi + 0x10], 0xffffffff
jne 0x64414f
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 0x64414f
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 0x644245
call fcn.006e5fe0
call dword [0x100cf08c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
add ebx, 8
mov esi, eax
cmp esi, ecx
je 0x6441f1
mov edx, dword [ebx]
test edx, edx
jne 0x6441d8
push edx
push esi
push ebx
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6441d8
mov edi, dword [esp + 0x14]
mov dword [edi + 0x10], 0
jmp 0x6441f5
push edi
push esi
call fcn.00626270
test al, al
jne 0x643fe6
mov byte [esp + 0x13], al
jmp 0x643fef
push esi
push edi
call fcn.00626270
test al, al
jne 0x644071
jmp 0x644077
push ebx
push edi
call fcn.00626270
test al, al
jne 0x644109
jmp 0x64410f
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.00626270
test al, al
jne 0x6441f1
mov edi, dword [esp + 0x14]
mov byte [esp + 0x12], al
jmp 0x6441fe
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.00654910
cmp byte [esp + 0x12], 0
je 0x644245
add dword [edi + 0x10], 0xffffffff
jne 0x644245
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 0x644245
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 0x64425d
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 0x644002
mov ebx, dword [esp + 0x38]
cmp byte [esp + 0x13], 0
je 0x6442b0
add dword [esi + 0x10], 0xffffffff
jne 0x6442b0
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 0x6442b0
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 0x643fa0
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.00653a30
test eax, eax
je 0x644316
lea edx, [ebp + 0xc]
push edx
mov eax, esi
call fcn.00653d50
mov eax, dword [0x100ef48c]
test eax, eax
je 0x64430b
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 0x644316
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.00644600
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
jne 0x64436c
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x64434c
call dword [0x100cf0b8]
test eax, eax
je 0x644359
push ebx
push ebx
push ebx
push esi
call dword [0x100cf0bc]
mov dword [esp + 0x1c], 1
jmp 0x644559
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.00644690
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x64455c
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 0x6443c1
cmp dword [esp + 0xf0], 1
jne 0x64455c
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.0064bf30
test eax, eax
je 0x64446b
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0x9c]
jl 0x64446b
mov ecx, dword [esp + 0x90]
mov esi, dword [ecx + 8]
cmp esi, ebx
je 0x644448
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 0x644460
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 0x644507
cmp byte [esp + 0xe4], 1
jne 0x644507
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.0064ad00
test eax, eax
jne 0x6444fe
lea edx, [ebp + 0xc]
push edx
lea eax, [esi + 0x48]
call fcn.00652520
test eax, eax
je 0x6444fe
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.00650ed0
lea eax, [esp + 0x2c]
call fcn.006b5660
lea edx, [esp + 0x88]
push edx
call fcn.00654660
mov edi, dword [esp + 0x84]
cmp edi, ebx
je 0x64455c
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0xb4]
call fcn.006e2c00
mov eax, dword [0x100ef808]
push edi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0xcc], bl
je 0x64455c
mov esi, dword [esp + 0xc8]
call fcn.006c54d0
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.00653490
test eax, eax
je 0x64458e
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 0x64459e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp + 0xc]
push eax
mov eax, edi
call fcn.00653640
mov eax, dword [esp + 0x44]
lea ecx, [ebp + 0xc]
push ecx
call fcn.006a96e0
lea edx, [ebp + 0xc]
push edx
add esi, 0x154
call fcn.00652ab0
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
add esi, 0x48
call fcn.00652ab0
cmp dword [esp + 0x1c], ebx
je 0x6445ed
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