Function at 0x5980a8
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edi, dword [esp + 0xb0]
test edi, edi
je case.default.0x59711d
mov ebx, dword [esp + 0xb0]
mov esi, dword [ebx + 0x20]
test esi, esi
je case.default.0x59711d
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je case.default.0x59711d
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x30], ebx
test ebx, ebx
je case.default.0x59711d
mov esi, dword [esp + 0xb0]
cmp esi, dword [ebx]
je 0x597068
mov dword [esp + 0x48], 0xfffffffe
mov eax, dword [esp + 0x48]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
cmp eax, 0x3f33
jbe case.default.0x59711d
cmp eax, 0x3f53
ja case.default.0x59711d
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x58], ebx
test ebx, ebx
je case.default.0x59711d
mov edi, dword [esp + 0xb0]
mov ebx, dword [edi]
test ebx, ebx
je 0x5983e4
mov edx, dword [edi + 4]
mov dword [esp + 0x54], edx
cmp eax, 0x3f3f
je 0x5983b0
mov edi, dword [esp + 0xb0]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xb4]
sub esi, 5
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], edi
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x48], 0
mov edi, dword [esp + 0x30]
add edi, 0x76
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x30]
add edx, 0x534
mov dword [esp + 0x60], edx
mov edx, ebp
mov ebp, ebx
mov ebx, edx
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x59711d
jmp dword [eax*4 + 0x632fb0]
cmp dword [esp + 0x34], 0x1f
ja 0x59715e
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597148
test ebx, ebx
je 0x598398
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x597140
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x38]
shl edx, 0x18
mov eax, dword [esp + 0x38]
shr eax, 0x18
add edx, eax
mov eax, dword [esp + 0x38]
shr eax, 8
and eax, 0xff00
add edx, eax
mov eax, dword [esp + 0x38]
and eax, 0xff00
shl eax, 8
add eax, edx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x1c], eax
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x30], eax
mov dword [ecx + 4], 0x3f3e
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x30]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x59900b
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0059a2d4
mov esi, dword [esp + 0x30]
mov dword [esi + 0x1c], eax
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x30], eax
mov dword [esi + 4], 0x3f3f
cmp dword [esp + 0x5c], 1
jbe 0x598388
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 8]
test edx, edx
jne 0x598420
cmp dword [esp + 0x34], 2
ja 0x597233
test ebx, ebx
je 0x598388
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x38], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x38]
and eax, 1
mov esi, dword [esp + 0x30]
mov dword [esi + 8], eax
mov edx, dword [esp + 0x38]
shr edx, 1
mov eax, edx
and eax, 3
cmp eax, 2
je 0x598805
cmp eax, 3
je 0x598ba6
dec eax
je 0x598b67
mov dword [esi + 4], 0x3f41
mov eax, 0x3f41
shr edx, 2
mov dword [esp + 0x38], edx
sub dword [esp + 0x34], 3
jmp 0x59710f
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x5972ec
cmp dword [esp + 0x34], edx
jae 0x5972c9
test ebx, ebx
je 0x598388
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x5972b0
test ebx, ebx
je 0x5983cc
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x5972a8
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add dword [esi + 0x48], eax
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
add dword [esi + 0x1bc8], edx
mov edi, dword [esp + 0x30]
mov dword [edi + 4], 0x3f4c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x598388
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov edi, dword [edx + 0x48]
cmp eax, edi
jae 0x598478
sub edi, eax
cmp edi, dword [edx + 0x30]
ja 0x59869c
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x34]
cmp edi, eax
jbe 0x598a0c
sub edi, eax
mov eax, dword [esi + 0x2c]
sub eax, edi
add eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x44]
cmp edi, edx
jbe 0x598483
mov edi, edx
jmp 0x598483
mov edi, dword [esp + 0x30]
mov dword [edi + 4], 0x3f47
cmp dword [esp + 0xb4], 6
je 0x598388
lea esi, [esi]
mov eax, dword [esp + 0x30]
mov dword [eax + 4], 0x3f48
cmp ebx, 5
jbe 0x59738e
cmp dword [esp + 0x44], 0x101
ja 0x59876a
mov esi, dword [esp + 0x30]
mov dword [esi + 0x1bc8], 0
mov edi, esi
mov esi, dword [esi + 0x50]
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
and eax, dword [esp + 0x40]
lea edx, [esi + eax*4]
mov al, byte [edx]
mov byte [esp + 0x3c], al
mov al, byte [edx + 1]
movzx edi, word [edx + 2]
movzx edx, al
cmp dword [esp + 0x34], edx
jae 0x597430
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], esi
mov edi, esi
jmp 0x5973f8
test ebx, ebx
je 0x598398
mov edi, dword [esp + 0x4c]
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
mov eax, dword [esp + 0x40]
and eax, edx
lea esi, [edi + eax*4]
mov al, byte [esi]
mov byte [esp + 0x3c], al
mov al, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, al
cmp esi, ecx
ja 0x5973ec
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, esi
mov esi, dword [esp + 0x4c]
cmp byte [esp + 0x3c], 0
je 0x598718
test byte [esp + 0x3c], 0xf0
je 0x598a31
movzx esi, al
mov cl, al
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc8], esi
mov dword [eax + 0x44], edi
test byte [esp + 0x3c], 0x20
je 0x598b39
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc8], 0xffffffff
mov dword [eax + 4], 0x3f3f
mov eax, 0x3f3f
jmp 0x59710f
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x4c]
test edx, edx
jne 0x5985e4
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x44]
mov dword [edi + 0x1bcc], eax
mov dword [edi + 4], 0x3f4a
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x54]
mov ecx, dword [eax + 0x5c]
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
and eax, dword [esp + 0x40]
lea edx, [esi + eax*4]
mov al, byte [edx]
mov byte [esp + 0x3c], al
movzx eax, byte [edx + 1]
movzx edi, word [edx + 2]
movzx edx, al
cmp dword [esp + 0x34], edx
jae 0x597545
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], esi
mov edi, esi
jmp 0x59750c
test ebx, ebx
je 0x598398
mov edi, dword [esp + 0x4c]
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
mov eax, dword [esp + 0x40]
and eax, edx
lea esi, [edi + eax*4]
mov al, byte [esi]
mov byte [esp + 0x3c], al
movzx eax, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, al
cmp esi, ecx
ja 0x597500
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, esi
mov esi, dword [esp + 0x4c]
test byte [esp + 0x3c], 0xf0
jne 0x5986cc
mov dword [esp + 0x68], edi
movzx ecx, al
mov dword [esp + 0x40], ecx
movzx ecx, byte [esp + 0x3c]
add ecx, dword [esp + 0x40]
mov edi, 1
shl edi, cl
dec edi
mov dword [esp + 0x4c], edi
and edi, dword [esp + 0x38]
mov cl, al
shr edi, cl
mov eax, dword [esp + 0x68]
add eax, edi
lea ecx, [esi + eax*4]
mov al, byte [ecx]
mov byte [esp + 0x3c], al
movzx eax, byte [ecx + 1]
mov byte [esp + 0x6c], al
movzx edi, word [ecx + 2]
mov ecx, dword [esp + 0x40]
add ecx, eax
cmp dword [esp + 0x34], ecx
jae 0x59760e
test ebx, ebx
je 0x598388
mov dword [esp + 0x70], edx
mov dword [esp + 0x3c], esi
jmp 0x5975c0
test ebx, ebx
je 0x598388
mov esi, dword [esp + 0x3c]
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x38], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x38]
and eax, dword [esp + 0x4c]
mov cl, byte [esp + 0x40]
shr eax, cl
add eax, dword [esp + 0x68]
lea eax, [esi + eax*4]
mov cl, byte [eax]
mov dl, byte [eax + 1]
movzx edi, word [eax + 2]
movzx eax, dl
mov esi, dword [esp + 0x40]
add esi, eax
cmp esi, dword [esp + 0x34]
ja 0x5975b4
mov byte [esp + 0x3c], cl
mov byte [esp + 0x6c], dl
mov edx, dword [esp + 0x70]
mov cl, byte [esp + 0x40]
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
add esi, dword [edx + 0x1bc8]
movzx edx, byte [esp + 0x6c]
jmp 0x5986d6
mov ebx, dword [esp + 0x30]
mov dword [ebx + 4], 0x3f52
mov dword [esp + 0x48], 0xfffffffc
jmp 0x597058
cmp dword [esp + 0x34], 0x1f
ja 0x597686
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597670
test ebx, ebx
je 0x598398
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x597668
mov dword [esp + 0x38], edx
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x597698
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x30]
test byte [ecx + 0x15], 2
je 0x5976ac
test byte [ecx + 0xc], 4
jne 0x598dd8
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], 0x3f37
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
jmp 0x5976d3
cmp dword [esp + 0x34], 0xf
ja 0x597706
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x5976f0
test ebx, ebx
je 0x598398
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x5976e8
mov dword [esp + 0x38], edx
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x597723
movzx edx, byte [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x38]
shr edx, 8
mov dword [eax + 0xc], edx
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x14]
mov eax, edx
test dh, 2
je 0x59773b
test byte [edi + 0xc], 4
jne 0x598ce7
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], 0x3f38
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test dh, 4
jne 0x597d59
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x24]
test edx, edx
je 0x598816
mov dword [edx + 0x10], 0
xor edx, edx
mov edi, dword [esp + 0x30]
mov dword [edi + 4], 0x3f39
jmp 0x597c8f
cmp dword [esp + 0x34], 0xf
ja 0x5977c6
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x5977ac
test ebx, ebx
je 0x598398
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x5977a4
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x14], eax
cmp al, 8
je 0x598c21
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], 0x632df7
mov dword [edx + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x598688
cmp dword [esp + 0x34], 0xf
ja 0x597842
test ebx, ebx
je 0x598388
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597828
test ebx, ebx
je 0x5983cc
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x597820
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
test dl, 2
je 0x597855
cmp dword [esp + 0x38], 0x8b1f
je 0x598f69
mov esi, dword [esp + 0x30]
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x59786e
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x598bc9
mov edx, dword [esp + 0x38]
shl edx, 8
and edx, 0xffff
mov eax, dword [esp + 0x38]
shr eax, 8
add eax, edx
mov ecx, 0x1f
xor edx, edx
div ecx
test edx, edx
jne 0x598bc9
mov eax, dword [esp + 0x38]
and eax, 0xf
cmp eax, 8
je 0x599046
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x18], 0x632df7
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x48], 0xfffffffd
mov esi, dword [esp + 0x30]
nop
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xb0]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov ebx, dword [esp + 0x38]
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x40], ecx
mov edx, dword [esi + 0x2c]
test edx, edx
jne 0x59793c
mov ebx, dword [esp + 0x50]
cmp dword [esp + 0x44], ebx
je 0x59795c
mov eax, dword [esi + 4]
cmp eax, 0x3f50
ja 0x59795c
cmp eax, 0x3f4d
jbe 0x59793c
cmp dword [esp + 0xb4], 4
je 0x59795c
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xb0]
call fcn.00596910
test eax, eax
jne 0x597632
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0xb0]
sub esi, dword [ebx + 4]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0xb0]
sub ebx, dword [edi + 0x10]
add dword [edi + 8], esi
add dword [edi + 0x14], ebx
mov eax, dword [esp + 0x30]
add dword [eax + 0x20], ebx
test byte [eax + 0xc], 4
je 0x5979c7
test ebx, ebx
je 0x5979c7
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [esp + 8], ebx
je 0x5983fc
mov eax, dword [edi + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x1c]
mov dword [esp], eax
call fcn.00599f2c
mov edx, dword [esp + 0x30]
mov dword [edx + 0x1c], eax
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x30], eax
mov edi, dword [esp + 0x30]
cmp dword [edi + 8], 1
sbb eax, eax
not eax
and eax, 0x40
add eax, dword [edi + 0x40]
mov edx, dword [edi + 4]
cmp edx, 0x3f3f
je 0x5983c4
cmp edx, 0x3f47
je 0x597a34
cmp edx, 0x3f42
je 0x597a34
xor edx, edx
add eax, edx
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x2c], eax
test esi, esi
jne 0x597a49
test ebx, ebx
jne 0x597a49
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x597058
mov dword [esp + 0x48], 0xfffffffb
mov eax, dword [esp + 0x48]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x100
add eax, edx
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x2c], eax
test esi, esi
je 0x597a0a
cmp dword [esp + 0xb4], 4
je 0x597a0e
mov eax, dword [esp + 0x48]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x14]
nop
test ah, 2
je 0x597acc
cmp dword [esp + 0x34], 0xf
ja 0x597aae
test ebx, ebx
je 0x598388
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597a94
test ebx, ebx
je 0x5983cc
dec ebx
movzx edx, byte [ebp]
shl edx, cl
add esi, edx
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x597a8c
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x30]
test byte [edi + 0xc], 4
jne 0x5985a0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x24]
test edx, edx
je 0x597ae7
sar eax, 9
and eax, 1
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00599f2c
mov edi, dword [esp + 0x30]
mov dword [edi + 0x1c], eax
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x30], eax
mov dword [edi + 4], 0x3f3f
mov eax, 0x3f3f
jmp 0x59710f
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x14]
test ah, 0x10
je 0x597c62
test ebx, ebx
je 0x598388
xor edx, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x30]
nop
mov esi, dword [esp + 0x3c]
mov cl, byte [esi + edx]
movzx esi, cl
inc edx
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x597b78
mov edi, dword [eax + 0x24]
test edi, edi
je 0x597b78
mov ebx, dword [ebp + 0x44]
cmp ebx, dword [eax + 0x28]
jae 0x597b78
mov byte [edi + ebx], cl
inc ebx
mov dword [ebp + 0x44], ebx
test esi, esi
je 0x597b82
cmp edx, dword [esp + 0x40]
jne 0x597b50
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
test byte [edi + 0x15], 2
je 0x597b9e
test byte [edi + 0xc], 4
jne 0x598747
sub ebx, edx
add ebp, edx
test esi, esi
jne 0x598388
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x14]
mov esi, dword [esp + 0x30]
mov dword [esi + 4], 0x3f3c
jmp 0x597a6c
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x14]
test ah, 8
je 0x598444
test ebx, ebx
je 0x598388
xor edx, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x30]
nop
mov esi, dword [esp + 0x3c]
mov cl, byte [esi + edx]
movzx esi, cl
inc edx
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x597c14
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x597c14
mov ebx, dword [ebp + 0x44]
cmp ebx, dword [eax + 0x20]
jae 0x597c14
mov byte [edi + ebx], cl
inc ebx
mov dword [ebp + 0x44], ebx
test esi, esi
je 0x597c1e
cmp edx, dword [esp + 0x40]
jne 0x597bec
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
test byte [edi + 0x15], 2
jne 0x598570
sub ebx, edx
add ebp, edx
test esi, esi
jne 0x598388
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x14]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x44], 0
mov dword [esi + 4], 0x3f3b
test ah, 0x10
jne 0x597b38
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x597bb1
mov dword [edx + 0x24], 0
jmp 0x597bb1
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x14]
mov edx, eax
and edx, 0x400
test edx, edx
je 0x597d23
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x3c], ebx
cmp ebx, edx
ja 0x5985d8
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x597d14
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x597ceb
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x597ceb
mov eax, dword [ecx + 0x14]
sub eax, edx
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x3c]
add edx, eax
cmp edx, ecx
jbe 0x598b30
sub ecx, eax
add eax, esi
mov edi, eax
mov esi, ebp
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x14]
test ah, 2
je 0x597cfe
mov eax, dword [esp + 0x30]
test byte [eax + 0xc], 4
jne 0x598d56
sub ebx, dword [esp + 0x3c]
add ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x44]
sub edx, dword [esp + 0x3c]
mov dword [edi + 0x44], edx
test edx, edx
jne 0x598388
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x14]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x44], 0
mov dword [ecx + 4], 0x3f3a
jmp 0x597bcb
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x14]
mov eax, edx
test dh, 4
je 0x59775f
cmp dword [esp + 0x34], 0xf
ja 0x598f29
test ebx, ebx
je 0x598388
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597d74
test ebx, ebx
je 0x5983cc
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x597d6c
mov dword [esp + 0x38], esi
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x44], eax
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x597da1
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
test dh, 2
je 0x597db4
mov esi, dword [esp + 0x30]
test byte [esi + 0xc], 4
jne 0x598e86
mov eax, edx
and edx, 0x400
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x30]
jmp 0x59777b
cmp dword [esp + 0x34], 0xd
ja 0x597e16
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597dfc
test ebx, ebx
je 0x598398
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xd
jbe 0x597df4
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x38]
and edx, 0x1f
add edx, 0x101
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x64], edx
mov eax, dword [esp + 0x38]
shr eax, 5
and eax, 0x1f
inc eax
mov dword [ecx + 0x68], eax
mov ecx, dword [esp + 0x38]
shr ecx, 0xa
and ecx, 0xf
lea esi, [ecx + 4]
mov edi, dword [esp + 0x30]
mov dword [edi + 0x60], esi
shr dword [esp + 0x38], 0xe
sub dword [esp + 0x34], 0xe
cmp edx, 0x11e
ja 0x5989e8
cmp eax, 0x1e
ja 0x5989e8
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x6c], 0
mov dword [ecx + 4], 0x3f45
xor edx, edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
jmp 0x5981e6
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x44]
test edx, edx
je 0x598460
mov eax, ebx
cmp ebx, edx
ja 0x598658
cmp eax, dword [esp + 0x44]
ja 0x59864c
test eax, eax
je 0x598388
mov edi, dword [esp + 0x58]
mov esi, ebp
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
sub ebx, eax
mov ebp, esi
sub dword [esp + 0x44], eax
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x30]
sub dword [edi + 0x44], eax
mov eax, dword [edi + 4]
jmp 0x59710f
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x48], 1
mov esi, dword [esp + 0x30]
jmp 0x5978e8
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x598ee6
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x598ee6
cmp dword [esp + 0x34], 0x1f
ja 0x597f56
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597f3c
test ebx, ebx
je 0x598398
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x597f34
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x20], edx
je 0x59909d
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], 0x632f98
mov dword [ecx + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x598678
cmp dword [esp + 0x34], 0x1f
ja 0x597fd2
test ebx, ebx
je 0x598388
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x597fb8
test ebx, ebx
je 0x5983cc
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x597fb0
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x44]
mov edi, dword [esp + 0xb0]
add dword [edi + 0x14], eax
mov ecx, dword [esp + 0x30]
add dword [ecx + 0x20], eax
test dl, 4
je 0x598c52
test eax, eax
je 0x598039
mov edi, dword [ecx + 0x14]
test edi, edi
mov dword [esp + 8], eax
mov edx, dword [esp + 0x58]
je 0x598ff1
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.00599f2c
mov esi, dword [esp + 0x30]
mov dword [esi + 0x1c], eax
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x30], eax
mov edx, dword [esi + 0xc]
test dl, 4
je 0x5992b3
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x14]
test esi, esi
mov eax, dword [esp + 0x38]
jne 0x598071
and eax, 0xff00
shl eax, 8
mov esi, dword [esp + 0x38]
shl esi, 0x18
mov ecx, dword [esp + 0x38]
shr ecx, 0x18
add esi, ecx
mov ecx, dword [esp + 0x38]
shr ecx, 8
and ecx, 0xff00
add ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x30]
cmp eax, dword [ecx + 0x1c]
je 0x59865f
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], 0x632f83
mov dword [ecx + 4], 0x3f51
mov edi, dword [esp + 0x44]
mov dword [esp + 0x50], edi
mov eax, 0x3f51
jmp 0x59710f
mov eax, dword [esp + 0x44]
test eax, eax
je 0x598388
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x44]
mov edx, dword [esp + 0x58]
mov byte [edx], al
inc edx
mov dword [esp + 0x58], edx
dec dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], 0x3f48
mov eax, 0x3f48
jmp 0x59710f
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x68], ecx
add ecx, dword [esi + 0x68]
mov dword [esp + 0x4c], ecx
mov edi, ebx
mov esi, dword [esp + 0x38]
mov edx, ecx
cmp dword [esp + 0x40], edx
jae 0x598f32
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 0x50]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 0x58]
mov eax, 1
shl eax, cl
mov ecx, eax
dec ecx
mov dword [esp + 0x3c], ecx
mov edx, ecx
and edx, esi
mov ebx, dword [esp + 0x38]
lea edx, [ebx + edx*4]
movzx ecx, byte [edx + 1]
mov bx, word [edx + 2]
movzx edx, cl
cmp dword [esp + 0x34], edx
jae 0x598197
test edi, edi
je 0x598d45
mov ecx, dword [esp + 0x34]
jmp 0x598168
test edi, edi
je 0x598544
dec edi
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
mov eax, dword [esp + 0x3c]
and eax, esi
mov ebx, dword [esp + 0x38]
lea edx, [ebx + eax*4]
mov al, byte [edx + 1]
mov bx, word [edx + 2]
movzx edx, al
cmp edx, ecx
ja 0x598160
mov dword [esp + 0x34], ecx
movzx ecx, al
cmp bx, 0xf
ja 0x598824
shr esi, cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov word [edx + eax*2 + 0x74], bx
inc eax
mov dword [esp + 0x40], eax
mov dword [edx + 0x6c], eax
mov edx, dword [esp + 0x4c]
jmp 0x598109
mov edx, dword [esp + 0x30]
mov esi, dword [edx + 0x60]
mov edx, dword [edx + 0x6c]
cmp esi, edx
jbe 0x59823d
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
cmp ecx, 2
ja 0x598200
test ebx, ebx
je 0x5983cc
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
mov edi, dword [esp + 0x40]
movzx edi, word [edi + edi + 0x6338c0]
mov eax, esi
and eax, 7
mov edx, dword [esp + 0x30]
mov word [edx + edi*2 + 0x74], ax
inc dword [esp + 0x40]
mov edi, dword [esp + 0x40]
mov dword [edx + 0x6c], edi
shr esi, 3
sub ecx, 3
mov eax, dword [esp + 0x3c]
cmp edi, eax
jb 0x5981e6
mov edx, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
cmp edx, 0x12
ja 0x59826f
lea eax, [edx + edx + 0x6338c0]
mov ecx, dword [esp + 0x30]
lea esi, [esi]
movzx edx, word [eax]
mov word [ecx + edx*2 + 0x74], 0
add eax, 2
cmp eax, 0x6338e6
jne 0x598250
mov edx, dword [esp + 0x30]
mov dword [edx + 0x6c], 0x13
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x70], esi
mov dword [ecx + 0x50], esi
mov dword [ecx + 0x58], 7
mov eax, ecx
add eax, 0x2f4
mov dword [esp + 0x14], eax
sub eax, 0x29c
mov dword [esp + 0x10], eax
add eax, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x13
add eax, 4
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0059c528
mov dword [esp + 0x48], eax
test eax, eax
je 0x598f06
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], 0x632ea8
mov eax, dword [esp + 0x30]
mov dword [eax + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x44]
mov esi, edi
mov dword [esi + 4], 0x3f43
jmp 0x597e9b
mov ecx, dword [esp + 0x34]
and ecx, 7
shr dword [esp + 0x38], cl
and dword [esp + 0x34], 0xfffffff8
cmp dword [esp + 0x34], 0x1f
ja 0x59834a
test ebx, ebx
je 0x598388
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x598330
test ebx, ebx
je 0x598398
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x59832c
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
movzx edx, word [esp + 0x38]
mov eax, dword [esp + 0x38]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x598bec
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], 0x632e66
mov eax, dword [esp + 0x30]
mov dword [eax + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x5978e8
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x5978e8
mov esi, dword [esp + 0x30]
mov dword [esi + 4], 0x3f40
mov al, 0x40
jmp 0x5970ae
sub eax, 0xffffff80
jmp 0x5979f8
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x5978e8
mov edx, dword [edi + 4]
test edx, edx
jne case.default.0x59711d
mov dword [esp + 0x54], 0
jmp 0x5970a3
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call fcn.0059a2d4
jmp 0x5979b6
mov ecx, dword [esp + 0x34]
and ecx, 7
shr dword [esp + 0x38], cl
and dword [esp + 0x34], 0xfffffff8
mov dword [eax + 4], 0x3f4e
mov eax, 0x3f4e
jmp 0x59710f
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x597c47
mov dword [edx + 0x1c], 0
jmp 0x597c47
mov eax, dword [esp + 0x30]
mov dword [eax + 4], 0x3f3f
mov eax, 0x3f3f
jmp 0x59710f
mov eax, dword [esp + 0x58]
sub eax, edi
mov edi, dword [edx + 0x44]
mov edx, edi
cmp edi, dword [esp + 0x44]
jbe 0x59848d
mov edi, dword [esp + 0x44]
sub dword [esp + 0x44], edi
sub edx, edi
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x44], edx
mov edx, edi
shr edx, 2
lea esi, [edx*4]
lea ecx, [eax + 4]
cmp dword [esp + 0x58], ecx
setae byte [esp + 0x3c]
mov ecx, dword [esp + 0x58]
add ecx, 4
cmp eax, ecx
setae cl
or byte [esp + 0x3c], cl
cmp edi, 9
seta cl
and byte [esp + 0x3c], cl
mov ecx, dword [esp + 0x58]
or ecx, eax
and ecx, 3
sete cl
test byte [esp + 0x3c], cl
je 0x5992d0
test esi, esi
je 0x5992d0
xor ecx, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x58]
mov ebx, dword [eax + ecx*4]
mov dword [ebp + ecx*4], ebx
inc ecx
cmp edx, ecx
ja 0x5984f8
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
add edx, esi
mov ecx, edi
sub ecx, esi
add eax, esi
cmp esi, edi
je 0x59852c
add ecx, edx
mov esi, ebx
mov bl, byte [eax]
mov byte [edx], bl
inc edx
inc eax
cmp edx, ecx
jne 0x598520
mov ebx, esi
add dword [esp + 0x58], edi
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x59855c
mov eax, dword [esi + 4]
jmp 0x59710f
mov ebx, ebp
mov ebp, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x30]
jmp 0x5978e8
mov dword [esi + 4], 0x3f48
mov eax, 0x3f48
jmp 0x59710f
test byte [edi + 0xc], 4
je 0x597c34
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x28], edx
call fcn.00599f2c
mov dword [edi + 0x1c], eax
mov edx, dword [esp + 0x28]
jmp 0x597c34
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x2c], edx
and edx, 0xffff
cmp edx, dword [esp + 0x38]
je 0x597abc
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], 0x632e3f
mov dword [edi + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
mov dword [esp + 0x3c], edx
jmp 0x597caa
cmp dword [esp + 0x34], edx
jae 0x59861d
test ebx, ebx
je 0x598388
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x598604
test ebx, ebx
je 0x5983cc
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x5985fc
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add eax, dword [esi + 0x44]
mov dword [esi + 0x44], eax
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
add dword [esi + 0x1bc8], edx
mov edi, esi
jmp 0x5974a2
mov eax, dword [esp + 0x44]
jmp 0x597eb7
mov eax, edx
jmp 0x597ead
mov esi, dword [esp + 0x44]
mov dword [esp + 0x50], esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
nop
mov edi, dword [esp + 0x30]
mov dword [edi + 4], 0x3f4f
jmp 0x597f03
mov dword [ecx + 4], 0x3f40
mov eax, 0x3f40
jmp 0x59710f
mov eax, dword [edx + 0x1bc4]
test eax, eax
je 0x597325
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], 0x632f65
mov dword [edx + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x1bc8]
mov cl, al
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
add esi, eax
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc8], esi
test byte [esp + 0x3c], 0x40
je 0x598a18
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x18], 0x632f4f
mov dword [eax + 4], 0x3f51
mov eax, 0x3f51
jmp 0x59710f
movzx esi, al
mov cl, al
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc8], esi
mov dword [eax + 0x44], edi
mov edi, dword [esp + 0x30]
mov dword [edi + 4], 0x3f4d
mov eax, 0x3f4d
jmp 0x59710f
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x28], edx
call fcn.00599f2c
mov dword [edi + 0x1c], eax
mov edx, dword [esp + 0x28]
jmp 0x597b9e
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xb0]
mov dword [edx + 0xc], ecx
mov esi, dword [esp + 0x44]
mov dword [edx + 0x10], esi
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x40], ecx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.0059cd30
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xb0]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x40]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, 0x3f3f
jne 0x59710f
mov dword [ecx + 0x1bc8], 0xffffffff
jmp 0x59710f
mov dword [esi + 4], 0x3f44
mov eax, 0x3f44
jmp 0x597271
xor edx, edx
mov edi, dword [esp + 0x30]
jmp 0x59777b
mov dword [esp + 0x38], ecx
cmp bx, 0x10
je 0x598c6f
cmp bx, 0x11
mov ebx, ecx
je 0x598d79
add ebx, 7
cmp dword [esp + 0x34], ebx
jae 0x59887b
test edi, edi
je 0x598d45
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, ebx
jmp 0x598864
test edi, edi
je 0x598544
dec edi
movzx ebx, byte [ebp]
shl ebx, cl
add esi, ebx
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x59885c
mov dword [esp + 0x34], ecx
mov edx, eax
mov cl, byte [esp + 0x38]
shr esi, cl
mov ebx, esi
and ebx, 0x7f
add ebx, 0xb
mov dword [esp + 0x3c], ebx
shr esi, 7
mov eax, dword [esp + 0x34]
sub eax, edx
sub eax, 7
mov dword [esp + 0x34], eax
xor ecx, ecx
add ebx, dword [esp + 0x40]
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x4c]
cmp ebx, eax
ja 0x5991fc
mov edx, dword [esp + 0x3c]
dec edx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
add ebx, 0x3a
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x30]
lea edx, [eax + ebx*2]
shl edx, 0x1e
shr edx, 0x1f
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
cmp ebx, edx
jbe 0x5988e4
mov dword [esp + 0x38], edx
cmp dword [esp + 0x3c], 6
ja 0x5988f3
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x59893f
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], edi
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x6c]
mov eax, ebx
lea esi, [esi]
mov word [ebp + ebx*2 + 0x74], cx
inc ebx
dec edx
mov edi, ebx
sub edi, eax
cmp dword [esp + 0x38], edi
ja 0x598914
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x3c], edx
je 0x5989ce
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
shr eax, 1
mov dword [esp + 0x24], eax
shl eax, 1
mov dword [esp + 0x40], eax
je 0x5989b0
mov eax, ecx
shl eax, 0x10
movzx edx, cx
or edx, eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
lea edx, [edx + eax*2]
mov dword [esp + 0x38], edx
xor edx, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x74]
mov dword [edi + edx*4], ebp
inc edx
cmp eax, edx
ja 0x598990
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x40]
sub dword [esp + 0x6c], eax
invalid