Function at 0x56e9a0
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 0x56ecb3
cmp dword [esp + 0x28], 6
jge 0x56eca5
test al, al
mov byte [esp + 0x7c], 0
je 0x56ea1a
and eax, 0xff
push eax
call fcn.0060a284
add esp, 4
test eax, eax
jne 0x56ea1a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x56ea00
xor eax, eax
mov al, byte [esi]
push eax
call fcn.0060a1d9
add esp, 4
test eax, eax
je 0x56eace
mov cl, byte [0x6fc418]
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.0060a0d0
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 0x56ea8b
lea eax, [esp + 0x58]
push edi
push eax
mov ecx, ebx
call fcn.0056e7c0
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x56eac7
cmp dword [esp + 0x18], 0xffffffff
jne 0x56eaa7
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call fcn.0056e810
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x56eac7
cmp ebp, 0xffffffff
jne 0x56ec8c
lea edx, [esp + 0x58]
mov ecx, ebx
push edx
call fcn.0056e850
mov ebp, eax
cmp ebp, 0xffffffff
je 0x56ec8c
add esi, edi
jmp 0x56ec75
xor eax, eax
mov al, byte [esi]
push eax
call fcn.0060a207
add esp, 4
test eax, eax
je 0x56ec78
cmp dword [esp + 0x1c], edi
jne 0x56eb13
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.0060a0d0
add esp, 0x14
cmp eax, 3
jne 0x56eb13
add esi, 8
jmp 0x56ec78
lea ecx, [esp + 0x38]
push 0xa
push ecx
push esi
call fcn.0060d69f
add esp, 0xc
cmp ebp, edi
mov ecx, eax
jne 0x56eb8c
mov edx, dword [esp + 0x38]
sub edx, esi
cmp edx, 4
jne 0x56eb8c
cmp ecx, 0x578
jg 0x56eb8c
cmp dword [esp + 0x3c], esi
jae 0x56eb8c
mov bl, byte [esi - 1]
cmp bl, 0x2b
je 0x56eb4f
cmp bl, 0x2d
jne 0x56eb88
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 0x56eb88
neg ebp
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov edx, edi
sub edx, esi
cmp edx, 8
jne 0x56ebf6
mov eax, dword [esp + 0x10]
or edx, 0xffffffff
cmp eax, edx
jne 0x56ebf9
cmp dword [esp + 0x18], edx
jne 0x56ebf9
cmp dword [esp + 0x14], edx
jne 0x56ebf9
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 0x56ec73
or edx, 0xffffffff
mov al, byte [esp + 0x7c]
test al, al
jne 0x56ec73
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x56ec37
cmp dword [esp + 0x14], edx
jne 0x56ec99
test ecx, ecx
jle 0x56ec25
cmp ecx, 0x20
jge 0x56ec25
mov dword [esp + 0x14], ecx
mov byte [esp + 0x7c], 1
mov al, byte [esp + 0x7c]
mov dword [esp + 0x24], 1
test al, al
jne 0x56ec73
jmp 0x56ec3c
cmp eax, 1
jne 0x56ec99
cmp dword [esp + 0x10], edx
jne 0x56ec99
cmp ecx, 0x76c
mov dword [esp + 0x10], ecx
jge 0x56ec65
cmp ecx, 0x46
jle 0x56ec5b
add ecx, 0x76c
jmp 0x56ec61
add ecx, 0x7d0
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], edx
jne 0x56ec73
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 0x56eca5
jmp 0x56e9ec
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 0x56ecc1
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 0x56ed40
mov edx, dword [esp + 0x18]
cmp edx, edi
je 0x56ed40
cmp ecx, edi
je 0x56ed40
cmp ecx, 0x7f5
jle 0x56ecec
pop edi
pop esi
pop ebp
mov eax, 0x7fffffff
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.0056e8a0
cmp eax, edi
je 0x56ed42
mov ecx, ebp
inc ecx
neg ecx
sbb ecx, ecx
and ecx, ebp
jle 0x56ed34
lea edx, [ecx + eax]
cmp edx, eax
jl 0x56ed40
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