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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push 8
lea edx, [esp + 0x90]
mov dword [esp + 0x90], eax
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x9c], ecx
call dword [0x100ef7ec]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x1cc]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xc], esi
jne 0x638a96
mov esi, dword [ebp + 0x10]
mov ebx, edi
call fcn.006b56b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0xc]
xor ebx, ebx
mov edi, 0xff
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x18], edi
call fcn.006eb3c0
mov dword [esp + 0x10], eax
mov word [eax], bx
mov eax, 0x200
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], edi
call fcn.006eb3c0
mov word [eax], bx
mov esi, dword [esi + 8]
mov dword [esp + 0x24], ebx
mov ebx, dword [esi]
lea edi, [esp + 0x10]
mov dword [esp + 0x20], eax
call fcn.00625be0
mov ebx, dword [esi + 0xc]
lea edi, [esp + 0x20]
call fcn.00625be0
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x2c]
shr eax, 1
cmp eax, edi
je 0x638b1e
jbe 0x638b90
mov eax, dword [esp + 0x30]
lea ecx, [edi + edi]
movzx edx, cx
shr edx, 1
cmp word [eax + edx*2], 0x5c
jne 0x638b90
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [0x100ef7e0]
mov eax, dword [esp + 0x2c]
cmp ax, word [esp + 0x34]
jb 0x638b90
push 8
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x94], eax
call dword [0x100ef7ec]
mov ax, word [esp + 0x34]
push 1
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x84]
push edx
mov word [esp + 0x88], ax
call dword [0x100ef7cc]
neg eax
sbb eax, eax
inc eax
jne 0x638d6d
mov esi, dword [esp + 0x20]
xor eax, eax
cmp esi, eax
je 0x638c6e
mov dword [esp + 0x98], eax
mov edx, 0x100ef4b4
mov ecx, 0x100ef4b8
mov dword [esp + 0xa0], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa0]
lea ebx, [esp + 0x1e]
mov edi, edx
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
call fcn.006e5220
test al, al
jne 0x638bfb
xor ebx, ebx
jmp 0x638c06
mov eax, dword [esp + 0x6c]
add dword [eax], 1
mov al, 1
xor ebx, ebx
push esi
mov byte [esp + 0x7c], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x78], bl
je 0x638c60
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [edi + 0x10]
cmp dword [ecx], ebx
lea eax, [edi + 0x10]
jne 0x638c60
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x638c60
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
xor eax, eax
cmp dword [esp + 0x10], eax
je 0x638d4d
mov dword [esp + 0xa8], eax
mov edx, 0x100ef4b4
mov ecx, 0x100ef4b8
mov dword [esp + 0xb0], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xb0]
lea ebx, [esp + 0x1f]
mov edi, edx
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.006e5220
test al, al
jne 0x638cd5
xor ebx, ebx
jmp 0x638ce0
mov eax, dword [esp + 0x4c]
add dword [eax], 1
mov al, 1
xor ebx, ebx
mov ecx, dword [0x100ef808]
mov byte [esp + 0x58], al
mov eax, dword [esp + 0x10]
push eax
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x58], bl
je 0x638d3f
mov edi, dword [esp + 0x54]
mov ecx, dword [edi + 0x10]
add dword [ecx], 0xffffffff
mov edx, dword [edi + 0x10]
cmp dword [edx], ebx
lea eax, [edi + 0x10]
jne 0x638d3f
mov eax, edx
mov dword [eax], ebx
mov ecx, dword [edi + 8]
push ebx
push ecx
call dword [0x100cf084]
mov edx, dword [edi + 0xc]
test edx, edx
lea eax, [edi + 0xc]
jle 0x638d3f
push eax
call dword [0x100cf080]
mov eax, dword [edi + 0x14]
push ebx
push 1
push eax
call dword [0x100cf088]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
xor eax, eax
cmp dword [esp + 0xc], eax
jne 0x638a90
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, edi
call fcn.006b56b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0xbc]
push edx
call dword [0x100ef7e0]
mov esi, dword [ebp + 0x10]
lea ebx, [esp + 0xb8]
call fcn.006b56b0
lea esi, [esp + 0xc0]
lea ecx, [esp + 0x2c]
call fcn.006b5480
mov esi, dword [ebp + 0x10]
mov ebx, eax
call fcn.006b56b0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x638db6
call fcn.00622510
mov eax, dword [esp + 0x10]
test eax, eax
je 0x638a87
call fcn.00622510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc