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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff88
mov ebx, eax
mov esi, 0x44afbc
lea eax, [ebx + 0x990]
mov dword [esp], eax
mov edx, dword [ebx + 0x149c]
mov dword [esp + 4], edx
mov ecx, dword [esp]
mov eax, dword [ecx]
cmp eax, dword [esp + 4]
jne 0x55e9a0
mov eax, dword [esp]
call fcn.00565604
mov dl, 1
jmp 0x55e9a2
xor edx, edx
test dl, dl
jne 0x55f17c
mov eax, dword [ebx + 0x990]
sub eax, dword [ebx + 0x149c]
and eax, dword [ebx + 0x24]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0x101
jae 0x55e9cd
mov ecx, dword [esp + 8]
jmp 0x55e9d2
mov ecx, 0x101
mov dword [ebx + 0x8d4], ecx
mov eax, dword [ebx + 0x149c]
mov edx, dword [ebx]
mov ecx, eax
inc ecx
mov dl, byte [edx + eax]
mov byte [esp + 0xc], dl
and ecx, dword [ebx + 0x24]
mov edx, dword [ebx]
mov cl, byte [edx + ecx]
xor edx, edx
mov byte [esp + 0xd], cl
xor ecx, ecx
mov cl, byte [esp + 0xd]
mov dl, byte [esp + 0xc]
shl ecx, 8
add edx, ecx
and edx, 0x3fff
mov dword [esp + 0x10], edx
mov edx, eax
mov ecx, dword [ebx]
mov edi, dword [ebx]
movzx edi, byte [edi + edx + 1]
movzx ecx, byte [ecx + edx + 2]
mov edi, dword [esi + edi*4]
shl edi, 3
mov ecx, dword [esi + ecx*4]
shl ecx, 7
add ecx, edi
mov edi, dword [ebx]
movzx edx, byte [edi + edx]
add ecx, edx
mov edx, dword [ebx]
mov edi, ecx
xor ecx, ecx
mov cl, byte [edx + eax + 3]
and edi, 0x3ffff
mov edx, dword [esi + ecx*4]
add edx, edi
and edx, 0x3ffff
mov dword [esp + 0x14], edx
mov ecx, dword [ebx]
movzx eax, byte [ecx + eax + 4]
mov eax, dword [esi + eax*4]
add eax, eax
add eax, dword [esp + 0x14]
and eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], eax
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x149c]
mov ebp, dword [esp + 0x14]
movzx edx, byte [edx + ecx]
mov ecx, dword [ebx + 8]
and eax, 0xffffff00
or edx, eax
movzx eax, word [ecx + edi*2]
mov ecx, dword [ebx + 0x149c]
and ecx, 0xffff0000
or eax, ecx
mov ecx, dword [ebx + 0xc]
and eax, dword [ebx + 0x24]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [ebx + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x10]
mov ebp, dword [esp + 0x18]
mov ecx, dword [ecx + ebp*4]
and ecx, dword [ebx + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 4]
mov ebp, dword [esp + 0x10]
lea ebp, [ecx + ebp]
mov cl, byte [ebx + 0x149c]
mov byte [ebp], cl
mov bp, word [ebx + 0x149c]
mov ecx, dword [ebx + 8]
mov word [ecx + edi*2], bp
mov ecx, dword [ebx + 0xc]
mov edi, dword [esp + 0x14]
mov ebp, dword [ebx + 0x149c]
mov dword [ecx + edi*4], ebp
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x18]
mov ebp, dword [ebx + 0x149c]
mov dword [ecx + edi*4], ebp
cmp eax, dword [ebx + 0x149c]
jb 0x55eb10
sub eax, 0x10000
and eax, dword [ebx + 0x24]
cmp edx, dword [ebx + 0x149c]
jb 0x55eb21
sub edx, 0x100
and edx, dword [ebx + 0x24]
mov ecx, dword [esp + 0x20]
mov edi, dword [ebx]
movzx edi, byte [edi + ecx + 2]
mov edi, dword [esi + edi*4]
shl edi, 7
mov dword [esp + 0x28], edi
mov edi, dword [ebx]
movzx edi, byte [edi + ecx + 1]
mov edi, dword [esi + edi*4]
shl edi, 3
add dword [esp + 0x28], edi
mov edi, dword [ebx]
movzx edi, byte [edi + ecx]
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x28]
and edi, 0x3ffff
mov dword [esp + 0x24], edi
mov edi, dword [ebx]
movzx edi, byte [edi + ecx + 3]
mov edi, dword [esi + edi*4]
add edi, dword [esp + 0x24]
and edi, 0x3ffff
mov dword [esp + 0x2c], edi
mov edi, dword [ebx]
movzx ecx, byte [edi + ecx + 4]
mov ecx, dword [esi + ecx*4]
add ecx, ecx
add ecx, dword [esp + 0x2c]
and ecx, dword [ebx + 0x1c]
cmp ecx, dword [esp + 0x18]
je 0x55eb96
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx]
mov edi, dword [esp + 0x1c]
mov cl, byte [ecx + edi]
mov byte [esp + 0x30], cl
mov ecx, dword [ebx]
mov cl, byte [ecx + eax]
mov byte [esp + 0x31], cl
mov ecx, dword [ebx]
mov cl, byte [ecx + edx]
mov byte [esp + 0x32], cl
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x149c]
mov ebp, dword [esp + 0x20]
mov dword [ecx + edi*4], ebp
mov dword [ebx + 0x58], 1
mov ecx, 1
jmp 0x55ebdf
mov edi, dword [ebx + 0x8c4]
xor ebp, ebp
mov dword [edi + ecx*4], ebp
inc ecx
cmp ecx, dword [ebx + 0x8cc]
jle 0x55ebd3
xor ecx, ecx
mov dword [ebx + 0x8cc], ecx
mov cl, byte [esp + 0x30]
cmp cl, byte [esp + 0xc]
jne 0x55eca8
mov ecx, dword [esp + 0x1c]
inc ecx
and ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
mov cl, byte [edi + ecx]
cmp cl, byte [esp + 0xd]
jne 0x55eca8
mov ecx, dword [esp + 0x1c]
add ecx, 2
and ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
mov cl, byte [edi + ecx]
mov edi, dword [ebx + 0x149c]
add edi, 2
and edi, dword [ebx + 0x24]
mov ebp, dword [ebx]
cmp cl, byte [ebp + edi]
jne 0x55eca8
mov ecx, dword [esp + 0x1c]
add ecx, 3
and ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
mov cl, byte [edi + ecx]
mov edi, dword [ebx + 0x149c]
add edi, 3
and edi, dword [ebx + 0x24]
mov ebp, dword [ebx]
cmp cl, byte [ebp + edi]
jne 0x55eca8
cmp dword [ebx + 0x8d4], 3
jle 0x55eca8
mov ecx, dword [ebx + 0x149c]
sub ecx, dword [esp + 0x1c]
and ecx, dword [ebx + 0x24]
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x34], 0x40000
jae 0x55eca8
cmp dword [esp + 0x34], 0
jbe 0x55eca8
mov ecx, dword [esp + 0x34]
cmp ecx, dword [ebx + 0x28]
jae 0x55eca8
mov dword [ebx + 0x58], 4
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebx + 0x8c4]
mov edi, dword [ebx + 0x54]
mov dword [ecx + 0x10], edi
mov cl, byte [esp + 0x31]
cmp cl, byte [esp + 0xc]
jne 0x55ed3b
lea ecx, [eax + 1]
and ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
mov cl, byte [edi + ecx]
cmp cl, byte [esp + 0xd]
jne 0x55ed3b
lea ecx, [eax + 2]
and ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
mov cl, byte [edi + ecx]
mov edi, dword [ebx + 0x149c]
add edi, 2
and edi, dword [ebx + 0x24]
mov ebp, dword [ebx]
cmp cl, byte [ebp + edi]
jne 0x55ed3b
cmp dword [ebx + 0x8d4], 2
jle 0x55ed3b
mov ecx, dword [ebx + 0x149c]
sub ecx, eax
and ecx, dword [ebx + 0x24]
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x38], 0x2000
jae 0x55ed3b
cmp dword [esp + 0x38], 0
jbe 0x55ed3b
cmp dword [ebx + 0x58], 4
jl 0x55ed21
mov eax, dword [ebx + 0x54]
shr eax, 5
cmp eax, dword [esp + 0x38]
jbe 0x55ed3b
mov dword [ebx + 0x58], 3
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x54], eax
mov ecx, dword [ebx + 0x8c4]
mov eax, dword [ebx + 0x54]
mov dword [ecx + 0xc], eax
cmp dword [ebx + 0x58], 4
jge 0x55eda0
mov cl, byte [esp + 0x32]
cmp cl, byte [esp + 0xc]
jne 0x55eda0
lea eax, [edx + 1]
and eax, dword [ebx + 0x24]
mov ecx, dword [ebx]
mov al, byte [ecx + eax]
cmp al, byte [esp + 0xd]
jne 0x55eda0
cmp dword [ebx + 0x8d4], 1
jle 0x55eda0
mov ecx, dword [ebx + 0x149c]
sub ecx, edx
and ecx, dword [ebx + 0x24]
mov dword [esp + 0x3c], ecx
cmp dword [ebx + 0x58], 1
je 0x55ed86
mov edx, dword [ebx + 0x54]
shr edx, 0xa
cmp edx, dword [esp + 0x3c]
jbe 0x55eda0
mov dword [ebx + 0x58], 2
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x54], eax
mov edx, dword [ebx + 0x8c4]
mov ecx, dword [ebx + 0x54]
mov dword [edx + 8], ecx
cmp dword [ebx + 0x58], 1
jle 0x55edb0
mov dword [ebx + 0x8cc], 4
cmp dword [esp + 0x20], 0
je 0x55edc9
push dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x34]
mov eax, ebx
call fcn.0055f184
cmp dword [ebx + 0x58], 2
jl 0x55ede7
cmp byte [ebx + 0x14a1], 0
jne 0x55ede3
mov eax, dword [ebx + 0x54]
cmp eax, dword [ebx + 0x149c]
ja 0x55ede7
xor edx, edx
jmp 0x55edec
mov edx, 1
mov byte [esp + 0x40], dl
cmp byte [esp + 0x40], 0
jne 0x55ee16
cmp dword [ebx + 0x30], 2
jl 0x55ee16
mov ecx, dword [ebx + 0x58]
cmp ecx, dword [ebx + 0x8d4]
jge 0x55ee16
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.0055f4d0
test al, al
jne 0x55ee1a
xor ecx, ecx
jmp 0x55ee1f
mov ecx, 1
mov byte [esp + 0x41], cl
cmp byte [esp + 0x40], 0
jne 0x55ee35
cmp byte [esp + 0x41], 0
je 0x55ef2d
cmp byte [ebx + 0x74], 0
je 0x55ee98
lea eax, [ebx + 0x6280]
mov dword [esp + 0x44], eax
mov dl, byte [ebx + 0x68]
mov byte [esp + 0x48], dl
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [edx + 0x18]
lea eax, [eax + eax*2]
mov byte [ecx + eax*4], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x18]
mov cl, byte [esp + 0x48]
lea edx, [edx + edx*2]
mov byte [eax + edx*4 + 1], cl
mov edx, dword [esp + 0x44]
inc dword [edx + 0x1c]
mov eax, dword [edx + 0x1c]
cmp eax, 0x4000
jb 0x55ee94
mov eax, dword [esp + 0x44]
call fcn.00566fec
mov byte [ebx + 0x74], 0
cmp byte [ebx + 0x64], 0
je 0x55eeaf
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x60]
mov eax, ebx
call fcn.0055fda0
mov byte [ebx + 0x64], 0
cmp byte [esp + 0x41], 0
je 0x55eed7
xor edx, edx
mov dl, byte [esp + 0xc]
mov dword [ebx + 0x68], edx
mov ecx, dword [ebx + 0x6c]
mov dword [ebx + 0x78], ecx
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x6c], eax
mov edx, dword [ebx + 0x58]
mov dword [ebx + 0x70], edx
mov byte [ebx + 0x74], 1
jmp 0x55ef18
lea eax, [ebx + 0x6280]
mov dl, byte [esp + 0xc]
mov byte [esp + 0x49], dl
mov ecx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
mov edx, dword [eax + 0x18]
mov byte [edx + ecx*4], 0
mov ecx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
mov edx, dword [eax + 0x18]
lea edx, [edx + ecx*4 + 1]
mov cl, byte [esp + 0x49]
mov byte [edx], cl
inc dword [eax + 0x1c]
mov edx, dword [eax + 0x1c]
cmp edx, 0x4000
jb 0x55ef18
call fcn.00566fec
mov eax, dword [ebx + 0x149c]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + 0x149c], eax
jmp 0x55f097
mov eax, ebx
call fcn.0055ff08
mov edx, dword [ebx + 0x149c]
inc edx
and edx, dword [ebx + 0x24]
mov dword [ebx + 0x149c], edx
xor ecx, ecx
mov dword [esp + 0x4c], ecx
jmp 0x55f089
mov eax, dword [ebx + 0x149c]
mov edi, dword [ebx]
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax]
lea edx, [eax + 1]
and edx, dword [ebx + 0x24]
movzx edx, byte [edi + edx]
shl edx, 8
add edx, ecx
mov dword [esp + 0x50], edx
mov edx, dword [ebx]
mov edi, dword [ebx]
movzx edi, byte [edi + eax + 1]
movzx edx, byte [edx + eax + 2]
mov edi, dword [esi + edi*4]
shl edi, 3
mov edx, dword [esi + edx*4]
shl edx, 7
add edx, edi
mov edi, dword [ebx]
add edx, ecx
mov ecx, dword [ebx]
and edx, 0x3ffff
movzx ecx, byte [ecx + eax + 3]
mov ecx, dword [esi + ecx*4]
add ecx, edx
and ecx, 0x3ffff
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 4]
mov edi, dword [esi + ecx*4]
mov ecx, dword [ebx + 0x10]
add edi, edi
add edi, dword [esp + 0x54]
and edi, dword [ebx + 0x1c]
mov ecx, dword [ecx + edi*4]
and ecx, dword [ebx + 0x24]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x50]
mov ebp, dword [ebx + 4]
and ecx, 0x3fff
lea ecx, [ebp + ecx]
push ecx
pop ecx
mov byte [ecx], al
mov ecx, dword [ebx + 8]
mov word [ecx + edx*2], ax
mov ecx, dword [esp + 0x54]
mov edx, dword [ebx + 0xc]
mov dword [edx + ecx*4], eax
mov edx, dword [ebx + 0x10]
mov dword [edx + edi*4], eax
mov edx, dword [esp + 0x58]
mov ecx, dword [ebx]
movzx ecx, byte [ecx + edx + 2]
mov ecx, dword [esi + ecx*4]
shl ecx, 7
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + edx + 1]
mov ecx, dword [esi + ecx*4]
shl ecx, 3
add dword [esp + 0x60], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + edx]
add dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x60]
and ecx, 0x3ffff
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + edx + 3]
mov ecx, dword [esi + ecx*4]
add ecx, dword [esp + 0x5c]
and ecx, 0x3ffff
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx]
movzx edx, byte [ecx + edx + 4]
mov edx, dword [esi + edx*4]
add edx, edx
add edx, dword [esp + 0x64]
and edx, dword [ebx + 0x1c]
cmp edi, edx
je 0x55f06b
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [edx + eax*4], ecx
mov eax, dword [ebx + 0x149c]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + 0x149c], eax
inc dword [esp + 0x4c]
mov eax, dword [ebx + 0x58]
dec eax
cmp eax, dword [esp + 0x4c]
jg 0x55ef4f
lea edx, [ebx + 0x990]
mov dword [esp + 0x68], edx
mov ecx, dword [ebx + 0x149c]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov edx, dword [eax]
sub edx, dword [esp + 0x6c]
and edx, dword [ecx + 0x410]
cmp edx, 0x111
jae 0x55f0d4
mov eax, dword [esp + 0x68]
call fcn.00565604
mov dl, 1
jmp 0x55f0d6
xor edx, edx
test dl, dl
je 0x55e9d8
cmp byte [ebx + 0x74], 0
je 0x55f142
lea eax, [ebx + 0x6280]
mov dword [esp + 0x70], eax
mov cl, byte [ebx + 0x68]
mov byte [esp + 0x74], cl
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov edx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x18]
lea edx, [edx + edx*2]
mov byte [eax + edx*4], 0
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x70]
mov ecx, dword [edx + 0x1c]
mov edx, dword [eax + 0x18]
mov al, byte [esp + 0x74]
lea ecx, [ecx + ecx*2]
mov byte [edx + ecx*4 + 1], al
mov edx, dword [esp + 0x70]
inc dword [edx + 0x1c]
mov ecx, dword [edx + 0x1c]
cmp ecx, 0x4000
jb 0x55f13e
mov eax, dword [esp + 0x70]
call fcn.00566fec
mov byte [ebx + 0x74], 0
cmp byte [ebx + 0x64], 0
je 0x55f159
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x60]
mov eax, ebx
call fcn.0055fda0
mov byte [ebx + 0x64], 0
mov eax, 1
jmp 0x55f16c
mov edx, dword [ebx + 0x8c4]
xor ecx, ecx
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebx + 0x8cc]
jle 0x55f160
xor eax, eax
mov dword [ebx + 0x8cc], eax
add esp, 0x78
pop ebp
pop edi
pop esi
pop ebx
ret