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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x55737c
sub esp, 0x7c
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x557236
mov eax, dword [esp + 0x8c]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
test edx, edx
jne 0x557224
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x80]
mov edi, dword [edx]
mov ecx, esi
lea esi, [eax + ebp]
mov dword [esp + 0x24], esi
nop
mov ebx, dword [edi + 8]
mov edi, dword [edi + 4]
lea esi, [ebx - 1]
test esi, esi
jl 0x55721d
mov ebx, dword [edi + ebx*4 - 4]
nop
cmp ebx, 0x10000
jb 0x557216
shr ebx, 0x10
mov edi, 0x10
cmp ebx, 0x100
jb 0x556e74
shr ebx, 8
add edi, 8
cmp ebx, 0x100
jae 0x557352
shl esi, 5
lea ecx, [0xd892e0]
movzx ecx, byte [ebx + ecx]
add ecx, edi
add ecx, esi
lea ebx, [eax + ebp + 0xb]
lea esi, [ecx + 7]
sar esi, 0x1f
shr esi, 0x1d
lea ecx, [esi + ecx + 7]
sar ecx, 3
cmp ecx, ebx
jl 0x5571f8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], ebp
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
call fcn.00510a90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov byte [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.00559160
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
nop
mov ecx, dword [eax + 8]
lea edx, [0x8ebd00]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x44], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00440500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.005109e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
ja 0x55734d
nop
sub ecx, eax
mov dword [esp + 0x38], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x40]
cmp edx, ecx
jle 0x5571ef
mov ebx, ecx
mov dword [esp + 0x34], ecx
lea eax, [0x8ebd00]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00440500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov ebx, ecx
sub ecx, edx
cmp ecx, ebx
ja 0x557344
mov edx, ebx
sub ebx, ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
lea ebx, [ecx + eax]
mov esi, dword [esp + 0x38]
cmp ebp, esi
jle 0x5571e8
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x54]
cmp ebx, ebp
je 0x557068
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004579b0
mov ecx, dword [esp + 0x40]
test ecx, ecx
jbe 0x55733d
mov edx, dword [esp + 0x58]
movzx ebx, byte [edx]
cmp ecx, 1
jbe 0x557333
movzx ebp, byte [edx + 1]
dec ebx
shr ebx, 0x1f
xor ebp, 1
xchg ebp, eax
movzx eax, al
xchg ebp, eax
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [esp + 0x3c]
mov eax, ecx
sub eax, ebp
cmp eax, ecx
ja 0x55732e
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], eax
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
add ecx, edx
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x14], ecx
call fcn.00535e80
mov eax, dword [esp + 0x30]
and eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov ebx, ecx
sub ecx, edx
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x557325
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
sub ebx, ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov esi, dword [esp + 0x58]
add ebx, esi
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
call fcn.00535e80
mov eax, dword [esp + 0x30]
and eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jae 0x55731c
mov ebp, dword [esp + 0x58]
movzx esi, byte [ecx + ebp - 1]
dec esi
shr esi, 0x1f
and esi, eax
mov eax, 2
jmp 0x55719e
lea edi, [eax + 1]
mov ecx, edi
movzx edi, byte [ebp + eax]
xor edi, 0xffffffff
xchg edi, eax
movzx eax, al
xchg edi, eax
dec edi
shr edi, 0x1f
and esi, edi
mov eax, ecx
cmp eax, edx
jge 0x5571ab
cmp eax, ebx
jb 0x557184
jmp 0x557315
cmp esi, 1
je 0x5571ce
mov eax, dword [0xdc1be4]
mov ecx, dword [0xdc1be0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x7c
ret
mov esi, ebp
jmp 0x55704c
mov ebx, ecx
mov ecx, edx
jmp 0x556ffe
mov eax, dword [0xdc1be4]
mov ecx, dword [0xdc1be0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
xor edi, edi
jmp 0x556e66
xor ecx, ecx
jmp 0x556e91
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
add esp, 0x7c
ret
nop
cmp eax, 0x14
jae 0x557363
mov ecx, dword [0xdb997c]
mov edx, dword [0xdb9978]
cmp eax, ecx
jae 0x55735e
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
je 0x557298
nop
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov ecx, dword [esp + 4]
mov dword [ecx + 4], 0x28
lea eax, [0x99df9d]
mov dword [ecx], eax
xor eax, eax
lea edx, [0xa4d860]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x556e19
mov dword [esp + 0x48], ecx
lea ecx, [0x8ef9e0]
mov dword [esp], ecx
mov ecx, dword [0xdc0f30]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040e230
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x5572e0
xor ecx, ecx
mov ebp, ebx
mov esi, edx
xor edx, edx
mov ebx, eax
mov eax, dword [esp + 0x48]
jmp 0x556e19
nop
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov ecx, dword [esp + 4]
mov dword [ecx + 4], 0x25
lea eax, [0x99c1e6]
mov dword [ecx], eax
xor eax, eax
lea edx, [0xa4d860]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x556e19
mov ecx, ebx
call fcn.00457060
mov eax, edx
mov ecx, ebx
call fcn.00457060
mov eax, ecx
mov ecx, edx
call fcn.004570c0
call fcn.004570c0
mov eax, 1
call fcn.00457060
xor eax, eax
call fcn.00457060
mov eax, ecx
mov ecx, ebx
call fcn.004570c0
call fcn.004570c0
mov eax, ebx
mov ecx, 0x100
call fcn.00457070
call fcn.00457070
lea eax, [0x8eba40]
mov dword [esp], eax
lea eax, [0xa44860]
mov dword [esp + 4], eax
call fcn.0042cff0
nop
call fcn.004557a0
jmp fcn.00556de0