Function at 0x5b4400
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 0x5b4440
lea eax, [esp + 0x2c]
push 0x1d15480
push eax
mov dword [esp + 0x34], 0x18
call fcn.004aec41
mov eax, dword [ebp + 0x158]
xor edi, edi
cmp eax, edi
jne 0x5b4463
lea ecx, [esp + 0x2c]
push 0x1d15480
push ecx
mov dword [esp + 0x34], 0x19
call fcn.004aec41
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 0x5b44b2
lea edx, [esp + 0x2c]
push 0x1d15480
push edx
mov dword [esp + 0x34], 0x1a
call fcn.004aec41
xor ebx, ebx
xor edx, edx
cmp dword [ebp + 0x150], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x58], edx
jle 0x5b4f91
mov edi, dword [ebp + 0x154]
mov dword [esp + 0x40], 0
test edi, edi
jle 0x5b4ebd
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 0x5b4e9e
mov ecx, dword [esp + 0x6c]
mov eax, ecx
shl eax, 0xf
add eax, ecx
shl eax, 3
mov dword [esp + 0x7c], eax
jmp 0x5b454d
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 0x5b4654
cmp ebx, 8
jne 0x5b4596
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 0x5b459e
cmp byte [edx + esi], bl
jne 0x5b4fcc
inc edx
mov dword [esp + 0x14], edx
jmp 0x5b459e
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 0x5b45c6
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b4654
lea eax, [ebx - 8]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b4636
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 0x5b4600
cmp byte [edx + esi], 0
jne 0x5b4fe3
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.005b5440
add eax, ebx
jmp 0x5b464e
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.005b5440
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 0x5b47c0
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x10
je 0x5b4ffa
mov edi, ecx
inc edi
shl eax, 1
cmp ebx, 8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jne 0x5b46d0
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 0x5b46d0
cmp byte [edx + esi], 0
jne 0x5b5011
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 0x5b46fc
mov ebx, eax
mov eax, edi
mov dword [esp + 0x10], ebx
jmp 0x5b478e
lea eax, [ebx - 7]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b476c
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 0x5b4736
cmp byte [edx + esi], 0
jne 0x5b5028
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.005b5440
add eax, ebx
jmp 0x5b4784
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.005b5440
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 0x5b468b
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 0x5b48f1
cmp ebx, 8
jne 0x5b4813
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 0x5b4817
cmp byte [edx + esi], 0
jne 0x5b5045
inc edx
mov dword [esp + 0x14], edx
jmp 0x5b4817
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 0x5b4843
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b48cd
lea eax, [ebx - 8]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b48b3
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 0x5b487d
cmp byte [edx + esi], 0
jne 0x5b505f
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.005b5440
add eax, ebx
jmp 0x5b48cb
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.005b5440
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 0x5b48f1
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 0x5b497f
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 0x5b4a1a
test ebp, ebp
mov ebp, dword [esp + 0x1c]
je 0x5b49fa
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 0x5b4a73
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 0x5b4a40
test ebp, ebp
mov ebp, dword [esp + 0x1c]
je 0x5b4a55
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 0x5b4a86
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 0x5b49b4
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 0x5b499b
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 0x5b4b11
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x24], 0x40
je 0x5b5076
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 0x5b4bda
cmp ebx, 8
jne 0x5b4b6d
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 0x5b4b6d
cmp byte [ecx + esi], 0
jne 0x5b508d
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 0x5b4b92
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b4bda
lea eax, [ebx - 8]
mov dword [esp + 0x10], 8
cmp eax, 8
jle 0x5b4bbc
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.005b54c0
jmp 0x5b4bd4
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.005b5440
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 0x5b4cf6
mov ecx, dword [esp + 0x14]
jmp 0x5b4c1b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp edx, 0x10
je 0x5b50a4
mov edi, edx
inc edi
shl eax, 1
cmp ebx, 8
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jne 0x5b4c60
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 0x5b4c60
cmp byte [ecx + esi], 0
jne 0x5b50bb
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 0x5b4c89
mov ebx, eax
mov eax, edi
mov dword [esp + 0x10], ebx
jmp 0x5b4cbe
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 0x5b4cb3
call fcn.005b54c0
jmp 0x5b4cb8
call fcn.005b5440
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 0x5b4c13
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
jmp 0x5b4cfa
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 0x5b4e6a
cmp eax, 0xf0
jne 0x5b4d2b
add dword [esp + 0x1c], 0x10
jmp 0x5b4e54
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 0x5b4d4a
xor eax, eax
jmp 0x5b4dd1
cmp ebx, 8
jne 0x5b4d7b
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 0x5b4d7b
cmp byte [ecx + esi], 0
jne 0x5b50d8
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 0x5b4da0
mov dword [esp + 0x10], ebx
mov eax, edi
jmp 0x5b4dd1
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 0x5b4dca
call fcn.005b54c0
jmp 0x5b4dcf
call fcn.005b5440
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 0x5b4df4
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.005b52a0
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 0x5b4b0d
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 0x5b4549
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 0x154]
inc eax
cmp eax, edx
mov dword [esp + 0x40], eax
jl 0x5b44e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov edi, dword [ebp + 0x130]
test edi, edi
je 0x5b4f78
mov edi, dword [ebp + 0x150]
dec edi
cmp edx, edi
jge 0x5b4f78
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 0x5b4f74
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 0x5b50ef
mov eax, dword [esp + 0x60]
mov dl, byte [edi + esi + 1]
add eax, 0xd0
cmp edx, eax
jne 0x5b5106
lea eax, [edi + 2]
mov dword [esp + 0x18], eax
mov dl, byte [eax + esi]
cmp dl, 0xff
lea edx, [eax + 2]
je 0x5b4f58
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x60]
inc edx
and edx, 0x80000007
jns 0x5b4f6e
dec edx
or edx, 0xfffffff8
inc edx
mov dword [esp + 0x60], edx
jmp 0x5b4f78
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 0x5b44ca
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 0x5b4faa
dec ecx
mov dword [eax], ecx
mov eax, dword [ebp + 0x158]
push eax
call fcn.005c35f9
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 0x1d15480
push eax
mov dword [esp + 0x64], 0x1a
call fcn.004aec41
lea ecx, [esp + 0x50]
push 0x1d15480
push ecx
mov dword [esp + 0x58], 0x1a
call fcn.004aec41
lea edx, [esp + 0x50]
push 0x1d15480
push edx
mov dword [esp + 0x58], 0x1b
call fcn.004aec41
lea eax, [esp + 0x74]
push 0x1d15480
push eax
mov dword [esp + 0x7c], 0x1a
call fcn.004aec41
lea ecx, [esp + 0x90]
push 0x1d15480
push ecx
mov dword [esp + 0x98], 0x1a
call fcn.004aec41
lea edx, [esp + 0x78]
push 0x1d15480
push edx
mov dword [esp + 0x80], 0x1a
call fcn.004aec41
lea eax, [esp + 0x30]
push 0x1d15480
push eax
mov dword [esp + 0x38], 0x1a
call fcn.004aec41
lea ecx, [esp + 0x30]
push 0x1d15480
push ecx
mov dword [esp + 0x38], 0x1b
call fcn.004aec41
lea edx, [esp + 0x30]
push 0x1d15480
push edx
mov dword [esp + 0x38], 0x1a
call fcn.004aec41
lea eax, [esp + 0x30]
push 0x1d15480
push eax
mov dword [esp + 0x38], 0x1b
call fcn.004aec41
lea ecx, [esp + 0x84]
push 0x1d15480
push ecx
mov dword [esp + 0x8c], 0x1a
call fcn.004aec41
lea edx, [esp + 0x38]
push 0x1d15480
push edx
mov dword [esp + 0x40], 0x1a
call fcn.004aec41
lea eax, [esp + 0x38]
push 0x1d15480
push eax
mov dword [esp + 0x40], 0x1c
call fcn.004aec41
lea ecx, [esp + 0x38]
push 0x1d15480
push ecx
mov dword [esp + 0x40], 0x1c
call fcn.004aec41
nop
nop
nop