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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov esi, edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov edx, dword [esp]
mov ecx, dword [edx]
mov dword [esp + 4], ecx
push 0
mov edi, dword [esp + 8]
xor ecx, ecx
xor edx, edx
mov eax, dword [edi + 0x78]
push eax
lea eax, [esp + 0x20]
call fcn.00644ae0
mov edi, dword [esp + 4]
cmp dword [edi + 0xc4], 1
jle 0x6385fb
jmp 0x6385f1
mov ebx, esi
mov al, byte [esi]
inc esi
cmp al, 0xa
je 0x6385cf
cmp byte [esi], 0
jne 0x6385c3
mov edx, 0x67def0
lea eax, [esp + 0x18]
mov ecx, 3
call fcn.00644950
mov ecx, esi
sub ecx, ebx
lea eax, [esp + 0x18]
mov edx, ebx
call fcn.00644950
cmp byte [esi], 0
jne 0x6385c1
jmp 0x63882a
mov edi, dword [esp]
cmp word [edi + 0x10], 0
jne 0x638821
mov eax, esi
call fcn.00644e74
mov ecx, eax
lea eax, [esp + 0x18]
mov edx, esi
call fcn.00644950
jmp 0x63882a
lea edx, [esp + 0x10]
mov eax, esi
call fcn.00638540
mov ebx, eax
lea eax, [esp + 0x18]
mov ecx, ebx
mov edx, esi
call fcn.00644950
add esi, ebx
cmp dword [esp + 0x10], 0
je 0x63882a
cmp byte [esi], 0x3f
jne 0x638672
cmp dword [esp + 0x10], 1
jle 0x638668
lea edx, [esp + 8]
lea eax, [esi + 1]
call fcn.00645ef4
jmp 0x638684
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
jmp 0x638684
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, dword [esp]
call fcn.005e6fe4
mov dword [esp + 8], eax
add esi, dword [esp + 0x10]
mov edi, dword [esp + 8]
inc edi
cmp edi, dword [esp + 0xc]
jle 0x63869a
mov eax, dword [esp + 8]
inc eax
jmp 0x63869e
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 8]
mov eax, dword [esp]
shl ebx, 3
lea ebx, [ebx + ebx*4]
add ebx, dword [eax + 0x64]
add ebx, 0xffffffd8
test byte [ebx + 0x10], 1
je 0x6386d3
mov edx, 0x67def4
lea eax, [esp + 0x18]
mov ecx, 4
call fcn.00644950
jmp 0x638821
test byte [ebx + 0x10], 0x24
je 0x6386f5
push dword [ebx + 4]
push dword [ebx]
push 0x67def9
lea edi, [esp + 0x24]
push edi
call fcn.00644d18
add esp, 0x10
jmp 0x638821
test byte [ebx + 0x10], 8
je 0x638717
push dword [ebx + 4]
push dword [ebx]
push 0x67defe
lea edx, [esp + 0x24]
push edx
call fcn.00644d18
add esp, 0x10
jmp 0x638821
test byte [ebx + 0x10], 2
je 0x6387b0
mov ecx, dword [esp + 4]
mov cl, byte [ecx + 0x54]
mov byte [esp + 0x14], cl
movzx edi, byte [esp + 0x14]
cmp edi, 1
je 0x638788
lea eax, [esp + 0x30]
mov ecx, 0x28
xor edx, edx
call fcn.005c83cc
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
mov eax, dword [ebx + 0xc]
cdq
push edx
push eax
push 0
lea eax, [esp + 0x3c]
mov cl, byte [esp + 0x20]
mov edx, dword [ebx + 8]
call fcn.00647da4
lea eax, [esp + 0x30]
mov edx, 1
call fcn.0064729c
cmp eax, 7
jne 0x638784
mov byte [esp + 0x2c], 7
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea ebx, [esp + 0x30]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push edx
push eax
push str._.q
lea ecx, [esp + 0x24]
push ecx
call fcn.00644d18
add esp, 0x10
dec edi
je 0x638821
lea eax, [esp + 0x30]
call fcn.006476d8
jmp 0x638821
test byte [ebx + 0x11], 4
je 0x6387cd
mov edx, dword [ebx]
push edx
push str.zeroblob__d_
lea ecx, [esp + 0x20]
push ecx
call fcn.00644d18
add esp, 0xc
jmp 0x638821
mov edx, 0x67df19
lea eax, [esp + 0x18]
mov ecx, 2
call fcn.00644950
mov ebp, dword [ebx + 0xc]
xor edi, edi
cmp ebp, edi
jle 0x63880e
mov eax, dword [ebx + 8]
movsx edx, byte [eax + edi]
and edx, 0xff
push edx
push str._02x
lea ecx, [esp + 0x20]
push ecx
call fcn.00644d18
add esp, 0xc
inc edi
cmp ebp, edi
jg 0x6387e9
mov edx, 0x67df0a
lea eax, [esp + 0x18]
mov ecx, 1
call fcn.00644950
cmp byte [esi], 0
jne 0x638627
cmp byte [esp + 0x2c], 0
je 0x63883a
lea eax, [esp + 0x18]
call fcn.00644ab8
lea eax, [esp + 0x18]
call fcn.006449e0
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret