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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x80], ebp
mov eax, dword [ebp + 0x104]
mov ecx, dword [ebp + 0x108]
mov dl, byte [eax + 2]
mov al, byte [ecx + 7]
cmp dl, al
je 0x5b53a0
lea eax, [esp + 0x2c]
push 0x1ad7f90
push eax
mov dword [esp + 0x34], 0x18
call fcn.004afba1
mov eax, dword [ebp + 0x158]
xor edi, edi
cmp eax, edi
jne 0x5b53c3
lea ecx, [esp + 0x2c]
push 0x1ad7f90
push ecx
mov dword [esp + 0x34], 0x19
call fcn.004afba1
mov esi, dword [esp + 0x9c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
mov dl, byte [esi]
mov dword [esp + 0x60], edi
cmp dl, 0xff
mov dword [esp + 0x3c], edi
mov word [esp + 0x44], di
mov word [esp + 0x46], di
mov word [esp + 0x48], di
mov word [esp + 0x4a], di
jne 0x5b5412
lea edx, [esp + 0x2c]
push 0x1ad7f90
push edx
mov dword [esp + 0x34], 0x1a
call fcn.004afba1
xor ebx, ebx
xor edx, edx
cmp dword [ebp + 0x150], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x58], edx
jle 0x5b5ef1
mov edi, dword [ebp + 0x154]
mov dword [esp + 0x40], 0
test edi, edi
jle 0x5b5e1d
mov eax, dword [ebp + 0x104]
mov edi, dword [esp + 0x40]
xor edx, edx
mov dword [esp + 0x2c], 0
mov dl, byte [eax + edi*2 + 4]
mov eax, edx
and eax, 0xf
shr edx, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x6c], edx
lea eax, [ecx + edi*2]
xor edx, edx
mov dl, byte [edi + eax + 0xa]
lea edi, [edi + edi*2 + 9]
xor eax, eax
mov dword [esp + 0x64], edx
mov al, byte [edi + ecx]
mov dword [esp + 0x5c], edi
mov edx, eax
and eax, 0xf
shr edx, 4
imul edx, eax
test edx, edx
jle 0x5b5dfe
mov ecx, dword [esp + 0x6c]
mov eax, ecx
shl eax, 0xf
add eax, ecx
shl eax, 3
mov dword [esp + 0x7c], eax
jmp 0x5b54ad
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebp + 0x4168]
mov eax, dword [eax + ecx + 0x40004]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x5b55b4
cmp ebx, 8
jne 0x5b54f6
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov ecx, edx
inc edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
cmp byte [ecx + esi], 0xff
jne 0x5b54fe
cmp byte [edx + esi], bl
jne 0x5b5f2c
inc edx
mov dword [esp + 0x14], edx
jmp 0x5b54fe
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
movzx di, byte [ecx + esi]
mov cl, bl
add ebx, eax
add cl, 8
shl edi, cl
mov cx, 0x10
sub cx, ax
shr di, cl
cmp ebx, 9
jge 0x5b5526
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b55b4
lea eax, [ebx - 8]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b5596
mov ecx, edx
inc edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov bl, byte [ecx + esi]
cmp bl, 0xff
jne 0x5b5560
cmp byte [edx + esi], 0
jne 0x5b5f43
inc edx
mov dword [esp + 0x14], edx
xor ebx, ebx
lea edx, [esp + 0x14]
mov bh, byte [ecx + esi]
mov cx, 0x10
sub cx, ax
push edx
shr bx, cl
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
add eax, 0xfffffff8
push ecx
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x24], 8
call fcn.005b63a0
add eax, ebx
jmp 0x5b55ae
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
push edx
push ecx
push eax
push esi
mov ecx, ebp
call fcn.005b63a0
mov ebx, dword [esp + 0x10]
add eax, edi
mov edx, dword [esp + 0x6c]
mov edi, dword [ebp + 0x4168]
mov ecx, edx
shl ecx, 0xf
add ecx, edx
mov edx, eax
shl ecx, 1
and edx, 0xffff
mov dword [esp + 0x24], ecx
add edx, ecx
xor ecx, ecx
mov cl, byte [edi + edx*4 + 1]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
mov edx, dword [esp + 0x14]
je 0x5b5720
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x10
je 0x5b5f5a
mov edi, ecx
inc edi
shl eax, 1
cmp ebx, 8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jne 0x5b5630
xor ebx, ebx
mov eax, edx
inc edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
cmp byte [eax + esi], 0xff
jne 0x5b5630
cmp byte [edx + esi], 0
jne 0x5b5f71
inc edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
mov cx, bx
add cx, 8
movzx di, byte [eax + esi]
shl di, cl
lea eax, [ebx + 1]
shr di, 0xf
cmp eax, 9
jge 0x5b565c
mov ebx, eax
mov eax, edi
mov dword [esp + 0x10], ebx
jmp 0x5b56ee
lea eax, [ebx - 7]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b56cc
mov ecx, edx
inc edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov bl, byte [ecx + esi]
cmp bl, 0xff
jne 0x5b5696
cmp byte [edx + esi], 0
jne 0x5b5f88
inc edx
mov dword [esp + 0x14], edx
xor ebx, ebx
lea edx, [esp + 0x18]
mov bh, byte [ecx + esi]
mov cx, 0x10
sub cx, ax
add eax, 0xfffffff8
shr bx, cl
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 8
push ecx
lea ecx, [esp + 0x14]
push edx
push ecx
push eax
push esi
mov ecx, ebp
call fcn.005b63a0
add eax, ebx
jmp 0x5b56e4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push esi
mov ecx, ebp
call fcn.005b63a0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
add eax, edi
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
add ecx, eax
xor eax, eax
mov dword [esp + 0x20], ecx
and ecx, 0xffff
add ecx, edi
mov edi, dword [ebp + 0x4168]
mov al, byte [edi + ecx*4 + 1]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0x20]
jne 0x5b55eb
mov edi, dword [esp + 0x24]
and eax, 0xffff
add eax, edi
mov edi, dword [ebp + 0x4168]
xor ecx, ecx
mov cl, byte [edi + eax*4]
xor edi, edi
mov eax, ecx
test eax, eax
mov dword [esp + 0x24], eax
je 0x5b5851
cmp ebx, 8
jne 0x5b5773
xor ebx, ebx
mov eax, edx
inc edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
cmp byte [eax + esi], 0xff
jne 0x5b5777
cmp byte [edx + esi], 0
jne 0x5b5fa5
inc edx
mov dword [esp + 0x14], edx
jmp 0x5b5777
mov eax, dword [esp + 0x18]
movzx di, byte [eax + esi]
mov eax, dword [esp + 0x24]
mov cl, bl
add cl, 8
add ebx, eax
shl edi, cl
mov cx, 0x10
sub cx, ax
shr di, cl
cmp ebx, 9
jge 0x5b57a3
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b582d
lea eax, [ebx - 8]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b5813
mov ecx, edx
inc edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov bl, byte [ecx + esi]
cmp bl, 0xff
jne 0x5b57dd
cmp byte [edx + esi], 0
jne 0x5b5fbf
inc edx
mov dword [esp + 0x14], edx
xor ebx, ebx
lea edx, [esp + 0x14]
mov bh, byte [ecx + esi]
mov cx, 0x10
sub cx, ax
push edx
shr bx, cl
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
add eax, 0xfffffff8
push ecx
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x24], 8
call fcn.005b63a0
add eax, ebx
jmp 0x5b582b
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
push edx
push ecx
push eax
push esi
mov ecx, ebp
call fcn.005b63a0
add eax, edi
mov edx, dword [esp + 0x24]
and eax, 0xffff
mov edi, eax
mov eax, 1
lea ecx, [edx - 1]
shl eax, cl
test edi, eax
jne 0x5b5851
add eax, eax
mov ecx, 1
sub ecx, eax
add edi, ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, ecx
mov si, word [esp + edx*2 + 0x44]
lea edx, [esp + edx*2 + 0x44]
add si, di
mov edi, dword [ebp + 0x158]
shl eax, 7
mov dword [esp + 0x88], eax
mov word [eax + edi], si
mov esi, dword [ebp + 0x158]
add esi, eax
shl ecx, 8
mov di, word [esi]
mov dword [esp + 0x94], ecx
mov word [edx], di
mov edx, dword [esp + 0x64]
mov edx, dword [ebp + edx*4 + 0x110]
movzx dx, byte [edx + 1]
imul edx, edi
mov word [esi], dx
mov ebx, dword [ebp + 0x158]
mov esi, dword [ebp]
add eax, ebx
mov dword [esp + 0x8c], eax
mov edx, dword [ebp + 0x15c]
mov eax, esi
add ecx, edx
not eax
sar eax, 3
and eax, 1
mov dword [esp + 0x54], eax
mov eax, esi
and eax, 0x80000007
jns 0x5b58df
dec eax
or eax, 0xfffffff8
inc eax
not eax
and eax, 1
mov edi, ecx
lea ebp, [ebp + esi*4 + 0x164]
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], ebp
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], ebx
mov esi, 0xfc
add edi, 0xe0
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x20]
movsx eax, word [eax]
imul eax, dword [ebp]
mov ebp, dword [esp + 0x54]
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x5b597a
test ebp, ebp
mov ebp, dword [esp + 0x1c]
je 0x5b595a
add dword [ebp], eax
mov ebp, ebx
sub ebp, edx
sub ebx, edx
add ebp, 0x1c
mov dword [esp + 0x28], ebp
mov ebp, dword [ebx + ecx + 0x1c]
add ebp, eax
mov dword [ebx + ecx + 0x1c], ebp
mov ebx, dword [edi]
add ebx, eax
jmp 0x5b59d3
add dword [ebp], eax
mov ebp, ebx
sub ebp, edx
sub ebx, edx
add ebp, 0x1c
mov dword [esp + 0x28], ebp
mov ebp, dword [ebx + ecx + 0x1c]
sub ebp, eax
mov dword [ebx + ecx + 0x1c], ebp
mov ebx, dword [edi]
add ebx, eax
jmp 0x5b59a0
test ebp, ebp
mov ebp, dword [esp + 0x1c]
je 0x5b59b5
add dword [ebp], eax
mov ebp, ebx
sub ebp, edx
sub ebx, edx
add ebp, 0x1c
mov dword [esp + 0x28], ebp
mov ebp, dword [ebx + ecx + 0x1c]
add ebp, eax
mov dword [ebx + ecx + 0x1c], ebp
mov ebx, dword [edi]
sub ebx, eax
mov dword [edi], ebx
mov ebx, esi
sub ebx, edx
mov dword [esp + 0x28], ebx
mov ebx, esi
sub ebx, edx
mov ebp, dword [ebx + ecx]
sub ebp, eax
jmp 0x5b59e6
add dword [ebp], eax
mov ebp, ebx
sub ebp, edx
sub ebx, edx
add ebp, 0x1c
mov dword [esp + 0x28], ebp
mov ebp, dword [ebx + ecx + 0x1c]
sub ebp, eax
mov dword [ebx + ecx + 0x1c], ebp
mov ebx, dword [edi]
sub ebx, eax
mov dword [edi], ebx
mov ebx, esi
sub ebx, edx
mov dword [esp + 0x28], ebx
mov ebx, esi
sub ebx, edx
mov ebp, dword [ebx + ecx]
add ebp, eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + ecx], ebp
mov ebx, dword [esp + 0x20]
sub esi, 0x20
add ebx, 0x100
sub edi, 0x20
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x68]
add ebx, 0x20
add eax, 0x20
cmp esi, 0x7c
mov dword [esp + 0x68], ebx
mov dword [esp + 0x1c], eax
jg 0x5b5914
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x34]
add edx, 4
add edi, 4
add ebp, 0x800
cmp edx, 0x10
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], ebp
jl 0x5b58fb
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x9c]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0
jmp 0x5b5a71
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x24], 0x40
je 0x5b5fd6
mov edx, dword [ebp + 0x4164]
mov ecx, eax
shl ecx, 0xf
add ecx, eax
mov eax, dword [edx + ecx*8 + 0x40004]
test eax, eax
mov dword [esp + 0x20], eax
je 0x5b5b3a
cmp ebx, 8
jne 0x5b5acd
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov edi, ecx
inc ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dl, byte [edi + esi]
cmp dl, 0xff
jne 0x5b5acd
cmp byte [ecx + esi], 0
jne 0x5b5fed
inc ecx
mov dword [esp + 0x14], ecx
movzx di, byte [edi + esi]
mov cl, bl
add ebx, eax
add cl, 8
shl edi, cl
mov cx, 0x10
sub cx, ax
shr di, cl
cmp ebx, 9
jge 0x5b5af2
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b5b3a
lea eax, [ebx - 8]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b5b1c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
push edx
push ecx
push eax
push esi
mov ecx, ebp
call fcn.005b6420
jmp 0x5b5b34
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push esi
mov ecx, ebp
call fcn.005b63a0
mov ebx, dword [esp + 0x10]
add eax, edi
mov edx, dword [esp + 0x4c]
mov edi, dword [ebp + 0x4164]
mov ecx, edx
shl ecx, 0xf
add ecx, edx
mov edx, eax
shl ecx, 1
and edx, 0xffff
mov dword [esp + 0x34], ecx
add edx, ecx
xor ecx, ecx
mov cl, byte [edi + edx*4 + 1]
mov edx, dword [esp + 0x20]
cmp ecx, edx
je 0x5b5c56
mov ecx, dword [esp + 0x14]
jmp 0x5b5b7b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp edx, 0x10
je 0x5b6004
mov edi, edx
inc edi
shl eax, 1
cmp ebx, 8
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jne 0x5b5bc0
xor ebx, ebx
mov eax, ecx
inc ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp byte [eax + esi], 0xff
jne 0x5b5bc0
cmp byte [ecx + esi], 0
jne 0x5b601b
inc ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
mov cx, bx
add cx, 8
lea eax, [ebx + 1]
movzx di, byte [edx + esi]
shl di, cl
shr di, 0xf
cmp eax, 9
jge 0x5b5be9
mov ebx, eax
mov eax, edi
mov dword [esp + 0x10], ebx
jmp 0x5b5c1e
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
add ebx, 0xfffffff9
push ecx
push edx
cmp ebx, 8
push ebx
mov dword [esp + 0x20], 8
push esi
mov ecx, ebp
jle 0x5b5c13
call fcn.005b6420
jmp 0x5b5c18
call fcn.005b63a0
mov ebx, dword [esp + 0x10]
add eax, edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
add ecx, eax
mov eax, dword [ebp + 0x4164]
mov dword [esp + 0x28], ecx
and ecx, 0xffff
add ecx, edx
xor edx, edx
mov dl, byte [eax + ecx*4 + 1]
mov eax, dword [esp + 0x20]
cmp edx, eax
jne 0x5b5b73
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
jmp 0x5b5c5a
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 0x4164]
and eax, 0xffff
add eax, edx
xor edx, edx
mov dl, byte [ecx + eax*4]
mov eax, edx
test eax, eax
je 0x5b5dca
cmp eax, 0xf0
jne 0x5b5c8b
add dword [esp + 0x1c], 0x10
jmp 0x5b5db4
mov edx, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 4
add edx, ecx
and eax, 0xf
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], eax
jne 0x5b5caa
xor eax, eax
jmp 0x5b5d31
cmp ebx, 8
jne 0x5b5cdb
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov edi, ecx
inc ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dl, byte [edi + esi]
cmp dl, 0xff
jne 0x5b5cdb
cmp byte [ecx + esi], 0
jne 0x5b6038
inc ecx
mov dword [esp + 0x14], ecx
movzx di, byte [edi + esi]
mov cl, bl
add ebx, eax
add cl, 8
shl edi, cl
mov cx, 0x10
sub cx, ax
shr di, cl
cmp ebx, 9
jge 0x5b5d00
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b5d31
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
add ebx, 0xfffffff8
push eax
push ecx
cmp ebx, 8
push ebx
mov dword [esp + 0x20], 8
push esi
mov ecx, ebp
jle 0x5b5d2a
call fcn.005b6420
jmp 0x5b5d2f
call fcn.005b63a0
add eax, edi
mov edx, dword [esp + 0x54]
and eax, 0xffff
lea ecx, [edx - 1]
mov edx, 1
shl edx, cl
test eax, edx
jne 0x5b5d54
lea ecx, [edx + edx]
mov edx, 1
sub edx, ecx
add eax, edx
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x1c]
push edi
mov edx, dword [ebp + ecx*4 + 0x110]
movzx cx, byte [edi + edx + 1]
mov edx, dword [esp + 0x40]
imul ecx, eax
mov eax, dword [ebp + 0x158]
shl edx, 6
add edx, edi
mov word [eax + edx*2], cx
mov ecx, dword [esp + 0x98]
mov edx, dword [ebp + 0x15c]
mov ebx, dword [ebp + 0x158]
add ecx, edx
mov edx, dword [esp + 0x8c]
add edx, ebx
push ecx
push edx
mov ecx, ebp
call fcn.005b6200
mov ebx, dword [esp + 0x10]
inc edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
inc ecx
cmp eax, 0x40
mov dword [esp + 0x24], ecx
jl 0x5b5a6d
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
inc edi
inc ecx
xor eax, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x108]
mov dword [esp + 0x2c], edi
mov al, byte [edx + ecx]
mov edx, eax
and eax, 0xf
shr edx, 4
imul edx, eax
cmp edi, edx
jl 0x5b54a9
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 0x154]
inc eax
cmp eax, edx
mov dword [esp + 0x40], eax
jl 0x5b5440
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov edi, dword [ebp + 0x130]
test edi, edi
je 0x5b5ed8
mov edi, dword [ebp + 0x150]
dec edi
cmp edx, edi
jge 0x5b5ed8
mov eax, dword [ebp + 0x124]
add eax, 2
movzx di, byte [eax]
movzx ax, byte [eax + 1]
shl edi, 8
add edi, eax
lea eax, [edx + 1]
cdq
and edi, 0xffff
idiv edi
test edx, edx
jne 0x5b5ed4
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebx
mov al, byte [edi + esi]
mov word [esp + 0x44], bx
cmp al, 0xff
mov word [esp + 0x46], bx
mov word [esp + 0x48], bx
mov word [esp + 0x4a], bx
jne 0x5b604f
mov eax, dword [esp + 0x60]
mov dl, byte [edi + esi + 1]
add eax, 0xd0
cmp edx, eax
jne 0x5b6066
lea eax, [edi + 2]
mov dword [esp + 0x18], eax
mov dl, byte [eax + esi]
cmp dl, 0xff
lea edx, [eax + 2]
je 0x5b5eb8
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x60]
inc edx
and edx, 0x80000007
jns 0x5b5ece
dec edx
or edx, 0xfffffff8
inc edx
mov dword [esp + 0x60], edx
jmp 0x5b5ed8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov edi, dword [ebp + 0x150]
inc edx
cmp edx, edi
mov dword [esp + 0x58], edx
jl 0x5b542a
xor edi, edi
lea edx, [eax + 1]
mov eax, dword [esp + 0xa0]
mov esi, dword [eax]
add esi, edx
cmp ebx, edi
mov dword [eax], esi
mov ecx, esi
jne 0x5b5f0a
dec ecx
mov dword [eax], ecx
mov eax, dword [ebp + 0x158]
push eax
call fcn.005c4559
add esp, 4
mov dword [ebp + 0x158], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8
lea eax, [esp + 0x5c]
push 0x1ad7f90
push eax
mov dword [esp + 0x64], 0x1a
call fcn.004afba1
lea ecx, [esp + 0x50]
push 0x1ad7f90
push ecx
mov dword [esp + 0x58], 0x1a
call fcn.004afba1
lea edx, [esp + 0x50]
push 0x1ad7f90
push edx
mov dword [esp + 0x58], 0x1b
call fcn.004afba1
lea eax, [esp + 0x74]
push 0x1ad7f90
push eax
mov dword [esp + 0x7c], 0x1a
call fcn.004afba1
lea ecx, [esp + 0x90]
push 0x1ad7f90
push ecx
mov dword [esp + 0x98], 0x1a
call fcn.004afba1
lea edx, [esp + 0x78]
push 0x1ad7f90
push edx
mov dword [esp + 0x80], 0x1a
call fcn.004afba1
lea eax, [esp + 0x30]
push 0x1ad7f90
push eax
mov dword [esp + 0x38], 0x1a
call fcn.004afba1
lea ecx, [esp + 0x30]
push 0x1ad7f90
push ecx
mov dword [esp + 0x38], 0x1b
call fcn.004afba1
lea edx, [esp + 0x30]
push 0x1ad7f90
push edx
mov dword [esp + 0x38], 0x1a
call fcn.004afba1
lea eax, [esp + 0x30]
push 0x1ad7f90
push eax
mov dword [esp + 0x38], 0x1b
call fcn.004afba1
lea ecx, [esp + 0x84]
push 0x1ad7f90
push ecx
mov dword [esp + 0x8c], 0x1a
call fcn.004afba1
lea edx, [esp + 0x38]
push 0x1ad7f90
push edx
mov dword [esp + 0x40], 0x1a
call fcn.004afba1
lea eax, [esp + 0x38]
push 0x1ad7f90
push eax
mov dword [esp + 0x40], 0x1c
call fcn.004afba1
lea ecx, [esp + 0x38]
push 0x1ad7f90
push ecx
mov dword [esp + 0x40], 0x1c
call fcn.004afba1
nop
nop
nop