Function at 0x551f70
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 0x552283
cmp dword [esp + 0x28], 6
jge 0x552275
test al, al
mov byte [esp + 0x7c], 0
je 0x551fea
and eax, 0xff
push eax
call fcn.005e58a9
add esp, 4
test eax, eax
jne 0x551fea
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x551fd0
xor eax, eax
mov al, byte [esi]
push eax
call fcn.005e57fe
add esp, 4
test eax, eax
je 0x55209e
mov cl, byte [0x6f5cb8]
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.005e55f0
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 0x55205b
lea eax, [esp + 0x58]
push edi
push eax
mov ecx, ebx
call fcn.00551d90
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x552097
cmp dword [esp + 0x18], 0xffffffff
jne 0x552077
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call fcn.00551de0
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x552097
cmp ebp, 0xffffffff
jne 0x55225c
lea edx, [esp + 0x58]
mov ecx, ebx
push edx
call fcn.00551e20
mov ebp, eax
cmp ebp, 0xffffffff
je 0x55225c
add esi, edi
jmp 0x552245
xor eax, eax
mov al, byte [esi]
push eax
call fcn.005e582c
add esp, 4
test eax, eax
je 0x552248
cmp dword [esp + 0x1c], edi
jne 0x5520e3
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.005e55f0
add esp, 0x14
cmp eax, 3
jne 0x5520e3
add esi, 8
jmp 0x552248
lea ecx, [esp + 0x38]
push 0xa
push ecx
push esi
call fcn.005e8b0f
add esp, 0xc
cmp ebp, edi
mov ecx, eax
jne 0x55215c
mov edx, dword [esp + 0x38]
sub edx, esi
cmp edx, 4
jne 0x55215c
cmp ecx, 0x578
jg 0x55215c
cmp dword [esp + 0x3c], esi
jae 0x55215c
mov bl, byte [esi - 1]
cmp bl, 0x2b
je 0x55211f
cmp bl, 0x2d
jne 0x552158
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 0x552158
neg ebp
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov edx, edi
sub edx, esi
cmp edx, 8
jne 0x5521c6
mov eax, dword [esp + 0x10]
or edx, 0xffffffff
cmp eax, edx
jne 0x5521c9
cmp dword [esp + 0x18], edx
jne 0x5521c9
cmp dword [esp + 0x14], edx
jne 0x5521c9
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 0x552243
or edx, 0xffffffff
mov al, byte [esp + 0x7c]
test al, al
jne 0x552243
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x552207
cmp dword [esp + 0x14], edx
jne 0x552269
test ecx, ecx
jle 0x5521f5
cmp ecx, 0x20
jge 0x5521f5
mov dword [esp + 0x14], ecx
mov byte [esp + 0x7c], 1
mov al, byte [esp + 0x7c]
mov dword [esp + 0x24], 1
test al, al
jne 0x552243
jmp 0x55220c
cmp eax, 1
jne 0x552269
cmp dword [esp + 0x10], edx
jne 0x552269
cmp ecx, 0x76c
mov dword [esp + 0x10], ecx
jge 0x552235
cmp ecx, 0x46
jle 0x55222b
add ecx, 0x76c
jmp 0x552231
add ecx, 0x7d0
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], edx
jne 0x552243
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 0x552275
jmp 0x551fbc
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 0x552291
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 0x552310
mov edx, dword [esp + 0x18]
cmp edx, edi
je 0x552310
cmp ecx, edi
je 0x552310
cmp ecx, 0x7f5
jle 0x5522bc
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.00551e70
cmp eax, edi
je 0x552312
mov ecx, ebp
inc ecx
neg ecx
sbb ecx, ecx
and ecx, ebp
jle 0x552304
lea edx, [ecx + eax]
cmp edx, eax
jl 0x552310
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