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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
or edi, 0xffffffff
mov ebx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov al, byte [esi]
mov ecx, edi
xor edx, edx
mov dword [esp + 0x20], ebx
test al, al
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
mov ebp, edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], edx
je 0x539223
cmp dword [esp + 0x28], 6
jge 0x539215
test al, al
mov byte [esp + 0x7c], 0
je 0x538f8a
and eax, 0xff
push eax
call fcn.005c3339
add esp, 4
test eax, eax
jne 0x538f8a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x538f70
xor eax, eax
mov al, byte [esi]
push eax
call fcn.005c328e
add esp, 4
test eax, eax
je 0x53903e
mov cl, byte [0x6cc7b8]
xor eax, eax
mov byte [esp + 0x58], cl
mov ecx, 7
lea edi, [esp + 0x59]
lea edx, [esp + 0x58]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push str._31_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push esi
stosb byte es:[edi], al
call fcn.005c47fc
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x34]
not ecx
dec ecx
cmp eax, 0xffffffff
mov edi, ecx
jne 0x538ffb
lea eax, [esp + 0x58]
push edi
push eax
mov ecx, ebx
call fcn.00538d30
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x539037
cmp dword [esp + 0x18], 0xffffffff
jne 0x539017
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call fcn.00538d80
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x539037
cmp ebp, 0xffffffff
jne 0x5391fc
lea edx, [esp + 0x58]
mov ecx, ebx
push edx
call fcn.00538dc0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x5391fc
add esi, edi
jmp 0x5391e5
xor eax, eax
mov al, byte [esi]
push eax
call fcn.005c32bc
add esp, 4
test eax, eax
je 0x5391e8
cmp dword [esp + 0x1c], edi
jne 0x539083
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push str._02d:_02d:_02d
push esi
call fcn.005c47fc
add esp, 0x14
cmp eax, 3
jne 0x539083
add esi, 8
jmp 0x5391e8
lea ecx, [esp + 0x38]
push 0xa
push ecx
push esi
call fcn.005c668f
add esp, 0xc
cmp ebp, edi
mov ecx, eax
jne 0x5390fc
mov edx, dword [esp + 0x38]
sub edx, esi
cmp edx, 4
jne 0x5390fc
cmp ecx, 0x578
jg 0x5390fc
cmp dword [esp + 0x3c], esi
jae 0x5390fc
mov bl, byte [esi - 1]
cmp bl, 0x2b
je 0x5390bf
cmp bl, 0x2d
jne 0x5390f8
mov eax, 0x51eb851f
mov ebp, 0x64
imul ecx
sar edx, 5
mov eax, edx
mov byte [esp + 0x7c], 1
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*2]
lea edi, [eax + eax*4]
mov eax, ecx
cdq
idiv ebp
lea eax, [edx + edi*4]
lea eax, [eax + eax*2]
lea ebp, [eax + eax*4]
shl ebp, 2
cmp bl, 0x2b
jne 0x5390f8
neg ebp
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov edx, edi
sub edx, esi
cmp edx, 8
jne 0x539166
mov eax, dword [esp + 0x10]
or edx, 0xffffffff
cmp eax, edx
jne 0x539169
cmp dword [esp + 0x18], edx
jne 0x539169
cmp dword [esp + 0x14], edx
jne 0x539169
mov eax, 0x68db8bad
mov esi, 0x2710
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x10], edx
cdq
idiv esi
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax - 1]
mov eax, ecx
mov dword [esp + 0x18], edx
mov ecx, 0x64
cdq
idiv ecx
mov dword [esp + 0x14], edx
jmp 0x5391e3
or edx, 0xffffffff
mov al, byte [esp + 0x7c]
test al, al
jne 0x5391e3
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5391a7
cmp dword [esp + 0x14], edx
jne 0x539209
test ecx, ecx
jle 0x539195
cmp ecx, 0x20
jge 0x539195
mov dword [esp + 0x14], ecx
mov byte [esp + 0x7c], 1
mov al, byte [esp + 0x7c]
mov dword [esp + 0x24], 1
test al, al
jne 0x5391e3
jmp 0x5391ac
cmp eax, 1
jne 0x539209
cmp dword [esp + 0x10], edx
jne 0x539209
cmp ecx, 0x76c
mov dword [esp + 0x10], ecx
jge 0x5391d5
cmp ecx, 0x46
jle 0x5391cb
add ecx, 0x76c
jmp 0x5391d1
add ecx, 0x7d0
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], edx
jne 0x5391e3
mov dword [esp + 0x24], 0
mov esi, edi
or edi, 0xffffffff
mov edx, dword [esp + 0x28]
mov al, byte [esi]
inc edx
test al, al
mov dword [esp + 0x28], edx
je 0x539215
jmp 0x538f5c
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x68
ret 4
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x68
ret 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, edi
jne 0x539231
xor edx, edx
xor eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x5392b0
mov edx, dword [esp + 0x18]
cmp edx, edi
je 0x5392b0
cmp ecx, edi
je 0x5392b0
cmp ecx, 0x7f5
jle 0x53925c
pop edi
pop esi
pop ebp
mov eax, bind
pop ebx
add esp, 0x68
ret 4
add ecx, 0xfffff894
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
call fcn.00538e10
cmp eax, edi
je 0x5392b2
mov ecx, ebp
inc ecx
neg ecx
sbb ecx, ecx
and ecx, ebp
jle 0x5392a4
lea edx, [ecx + eax]
cmp edx, eax
jl 0x5392b0
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
add esp, 0x68
ret 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4