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

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xc0]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x18]
mov ebp, 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebp
push edi
test eax, 0x400
je 0x5b5846
mov edx, eax
mov ebp, 2
shr edx, 0xb
mov ecx, 0x5b9040
not edx
mov dword [esp + 0x58], ebp
and edx, 1
jmp 0x5b587c
test eax, 0x1000
je 0x5b5867
mov edx, eax
mov ebp, 2
shr edx, 0xd
mov ecx, 0x5b90c0
not edx
mov dword [esp + 0x58], ebp
and edx, 1
jmp 0x5b587c
test eax, 0x100
je 0x5b58b8
mov edx, eax
mov ecx, fcn.005b9140
shr edx, 9
not edx
and edx, ebp
mov dword [esp + 0x1c], ecx
mov esi, ebp
mov dword [esp + 0x64], edx
mov ebx, edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebx
test eax, 0x800
jne 0x5b58e4
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebx
test eax, 0x2000
je 0x5b5942
jmp 0x5b591b
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
test eax, 0x800
je 0x5b58ff
mov ebp, 2
mov dword [esp + 0x1c], 0x5b9040
mov dword [esp + 0x58], ebp
mov dword [esp + 0x68], ebp
mov eax, 1
mov dword [esp + 0x48], 0x5b92f0
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], 4
jmp 0x5b5958
test eax, 0x2000
je 0x5b5936
mov ebp, 2
mov dword [esp + 0x1c], 0x5b90c0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x68], ebp
mov eax, 1
mov dword [esp + 0x48], 0x5b9310
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], 4
jmp 0x5b5958
mov dword [esp + 0x1c], fcn.005b9140
mov dword [esp + 0x68], ebp
mov dword [esp + 0x48], fcn.005b7f80
mov eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x6c], 6
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0xc4]
imul eax, ecx
mov dword [esp + 0x10], ecx
add eax, dword [edi + 4]
add eax, ebp
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
push dword [esp + 0x10]
mov ebx, dword [edi + 8]
lea eax, [esp + 0x1c]
mov esi, dword [edi + 4]
sub ebx, ebp
push dword [esp + 0xcc]
add esi, dword [edi]
add ebx, dword [edi]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], ebx
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x2c], ecx
test ecx, ecx
je case.default.0x5b678a
jns 0x5b5a5d
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b5a2c
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x5b59e5
mov ecx, dword [esp + 0xc8]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x2c]
add edx, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x5b671d
cmp ecx, dword [esp + 0x6c]
je 0x5b5a77
cmp dword [esp + 0x60], 0
jne 0x5b5a77
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x20], edx
jmp 0x5b5a84
mov edx, dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add edx, ecx
sub eax, ecx
mov dword [esp + 0xc8], edx
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
push edx
push eax
call dword [esp + 0x54]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jle 0x5b65a2
cmp edx, dword [esp + 0x6c]
je 0x5b5acd
cmp dword [esp + 0x64], 0
jne 0x5b5acd
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], eax
jmp 0x5b5adc
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], 0
sub dword [esp + 0x10], edx
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc8], eax
mov eax, edx
shr eax, 8
mov dword [esp + 0x5c], eax
cmp eax, 0x1d2
ja 0x5b5ec2
cmp byte [eax + 0x69b6e8], 0
je 0x5b5ec2
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x1100]
cmp ecx, 0x12
ja 0x5b5c41
add edx, 0xffffee9f
cmp edx, 0x14
ja 0x5b5b52
imul ecx, ecx, 0x15
mov dword [esp + 0x20], 0
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax*4 + 0xac00]
mov dword [esp + 0x18], eax
jmp 0x5b5fa9
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5b5bd2
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x5b5ba1
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x5b5f1b
jmp dword [eax*4 + 0x5b6848]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp 0x5b5f8d
push eax
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b5f8b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x5b5bf5
jmp 0x5b5f8b
lea ecx, [eax - 0xac00]
mov dword [esp + 0x14], ecx
cmp ecx, 0x2ba3
ja 0x5b5d86
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x14]
shl eax, 2
sub ecx, eax
jne 0x5b5d82
mov ecx, dword [esp + 0x40]
add ecx, 0xffffee59
lea eax, [ecx - 1]
cmp eax, 0x1a
ja 0x5b5ca5
add dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
jmp 0x5b5fa9
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5b5d10
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x5b5cf4
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x5b5f1b
jmp dword [eax*4 + 0x5b6858]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b5f8b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x5b5d36
jmp 0x5b5f8b
mov eax, dword [esp + 0x18]
push dword [esp + 0x40]
push eax
call fcn.005b8590
add esp, 8
test eax, eax
je 0x5b5da8
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
jmp 0x5b5fa9
mov edx, dword [esp + 0x40]
cmp edx, 0x1d244
ja 0x5b5dea
mov eax, dword [esp + 0x5c]
movzx ecx, byte [eax + 0x69c260]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
and edx, 0xf
movzx eax, byte [eax + ecx*8 + 0x69bff0]
add eax, eax
movzx ecx, byte [edx + eax*8 + 0x69b8c0]
mov dword [esp + 0x44], ecx
test ecx, ecx
jne 0x5b5fd3
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5b5e50
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x5b5e39
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x5b5f1b
jmp dword [eax*4 + 0x5b6868]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b5f8b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x5b5e76
jmp 0x5b5f8b
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5b5f22
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x5b5f11
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x5b5f1b
jmp dword [eax*4 + 0x5b6878]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b5f8b
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x5b5f44
add esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push dword [esp + 0xcc]
push eax
call dword [esp + 0x54]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jg 0x5b5ab3
jmp 0x5b65a2
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x24], eax
push dword [esp + 0x10]
shl eax, 2
lea ecx, [esp + 0x74]
push dword [esp + 0xcc]
mov dword [esp + 0x54], eax
add eax, ecx
push eax
call dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jle 0x5b60d3
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + eax + 0x70]
cmp edx, 0x1d244
jbe 0x5b6033
xor ecx, ecx
jmp 0x5b6062
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x69c260]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x69bff0]
add eax, eax
and edx, 0xf
movzx ecx, byte [edx + eax*8 + 0x69b8c0]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
cmp edx, ecx
jb 0x5b607e
cmp edx, 0xe4
je 0x5b607e
cmp ecx, 0xe4
jne 0x5b60ac
mov edx, dword [esp + 0x38]
add dword [esp + 0xc8], edx
sub dword [esp + 0x10], edx
mov dword [esp + eax + 0x98], ecx
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
cmp eax, 0xa
jl 0x5b5ff3
jmp 0x5b60b9
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
cmp eax, 0xa
jl 0x5b60db
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], 0xa
mov dword [esp + 0x4c], 1
jmp 0x5b6116
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], ecx
cmp eax, 1
jle 0x5b62e3
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
nop word [eax + eax]
lea eax, [ebx*4]
push dword [esp + eax + 0x70]
mov dword [esp + 0x60], eax
push dword [esp + 0x1c]
call fcn.005b8590
mov ecx, eax
add esp, 8
lea eax, [ebx + 1]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x5b6160
mov ebx, eax
jmp 0x5b62c8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
cmp edi, ecx
jge 0x5b619e
mov edx, dword [esp + 0x5c]
nop dword [eax]
mov eax, dword [esp + edx + 0x74]
lea edx, [edx + 4]
mov dword [esp + edx + 0x6c], eax
inc edi
mov eax, dword [esp + edx + 0x98]
mov dword [esp + edx + 0x94], eax
cmp edi, ecx
jl 0x5b6180
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x5b62c2
cmp ebx, ecx
jne 0x5b62c2
test esi, esi
jle 0x5b62c2
cmp ebp, dword [esp + 0x44]
jne 0x5b62c2
mov ebx, dword [esp + ecx*4 + 0x94]
mov dword [esp + 0x44], ebx
cmp ecx, 0xa
jge 0x5b629a
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
lea ebp, [ecx*4]
push esi
lea edi, [esp + 0x74]
push edx
add edi, ebp
push edi
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x5b62ad
mov edx, dword [edi]
cmp edx, 0x1d244
jbe 0x5b6217
xor eax, eax
jmp 0x5b6246
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x69c260]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x69bff0]
mov ecx, dword [esp + 0x38]
add eax, eax
and edx, 0xf
movzx eax, byte [edx + eax*8 + 0x69b8c0]
mov dword [esp + 0x3c], eax
cmp ebx, eax
jl 0x5b625d
cmp ebx, 0xe4
je 0x5b625d
cmp eax, 0xe4
jne 0x5b62ad
mov edx, dword [esp + 0xc8]
sub esi, ecx
add edx, ecx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x24]
mov ebx, eax
inc ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0x44], ebx
mov dword [esp + ebp + 0x98], eax
mov dword [esp + 0x24], ecx
cmp ecx, 0xa
jl 0x5b61e4
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edi, 0xa
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], edi
jmp 0x5b62c6
mov ecx, dword [esp + 0x24]
cmp ecx, 0xa
jge 0x5b6292
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp ebx, edi
jl 0x5b6130
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc4]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
test edx, edx
je 0x5b6370
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x5b633c
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x5b6346
jmp dword [eax*4 + 0x5b6888]
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
mov dword [esp + 0x28], esi
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x5b63d0
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b63ca
mov eax, dword [edi + 8]
add eax, dword [esp + 0x5c]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x5b6385
add esi, eax
mov dword [esp + 0x28], esi
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
jle 0x5b646a
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
nop dword [eax + eax]
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b644a
mov eax, dword [edi + 8]
add eax, dword [esp + 0x5c]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x4c]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x5b6403
mov ecx, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x4c]
inc ecx
add eax, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
cmp ecx, dword [esp + 0x24]
jl 0x5b63f0
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x10]
jle 0x5b65a6
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x3c], eax
jne 0x5b65a6
test edx, edx
je 0x5b65a6
push edx
push dword [esp + 0xcc]
lea eax, [esp + 0x78]
push eax
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x5b65a2
mov edx, dword [esp + 0x70]
cmp edx, 0x1d244
jbe 0x5b64c1
xor eax, eax
jmp 0x5b64f2
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x69c260]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx ecx, byte [eax + ecx*8 + 0x69bff0]
mov eax, edx
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x69b8c0]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x44], eax
jg 0x5b65a2
add dword [esp + 0xc8], ecx
sub dword [esp + 0x10], ecx
mov dword [esp + 0x44], eax
mov eax, ebx
push edx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b6577
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x70]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x5b6530
push dword [esp + 0x10]
add esi, eax
lea eax, [esp + 0x74]
push dword [esp + 0xcc]
mov dword [esp + 0x30], esi
push eax
call dword [esp + 0x54]
mov ecx, eax
mov dword [esp + 0x20], eax
add esp, 0xc
test ecx, ecx
jg 0x5b64b1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x5b6714
mov ecx, dword [esp + 0x30]
imul ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x5b6630
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x5b6601
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x5b660f
jmp dword [eax*4 + 0x5b6898]
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
jmp case.default.0x5b660f
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b668a
mov eax, dword [edi + 8]
add eax, dword [esp + 0x14]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x5b6645
add esi, eax
push dword [esp + 0x40]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x5b66e6
mov eax, dword [edi + 8]
add eax, dword [esp + 0x14]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x40]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x5b66a1
mov ecx, dword [esp + 0xc8]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x50]
add edx, dword [esp + 0x50]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x5b671d
je 0x5b673e
mov ecx, dword [esp + 0xc8]
push edx
push ecx
lea eax, [esp + 0x20]
push eax
call dword [esp + 0x54]
mov ecx, eax
mov dword [esp + 0x38], eax
add esp, 0xc
test ecx, ecx
jne 0x5b59bd
jmp case.default.0x5b678a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5b67b0
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x5b677c
mov eax, dword [esp + 0x30]
sub esi, dword [edi]
imul eax, edx
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov esi, dword [edi]
add esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x5b678a
jmp dword [eax*4 + 0x5b68a8]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp case.default.0x5b678a
push dword [esp + 0x18]
sub ebx, esi
push ebx
mov ebx, dword [esp + 0x24]
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x5b680d
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.005b5740
add esp, 8
test eax, eax
je 0x5b6839
mov eax, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, eax
sub eax, ebp
add eax, dword [edi + 8]
sub eax, esi
push eax
push esi
call ebx
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x5b67d2
add esi, eax
mov eax, esi
sub eax, dword [edi]
cmp dword [esp + 0x68], 2
mov dword [edi + 4], eax
mov byte [esi], 0
jne 0x5b682a
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov byte [edx + ecx + 1], 0
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xb0
ret