Function at 0x58d934
Capabilities:
Compress data via zlib inflate or deflate
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
test eax, eax
je 0x58e66d
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
je 0x58e66d
cmp dword [esp + 0x64], 5
jg 0x58e66d
mov eax, dword [esp + 0x64]
test eax, eax
js 0x58e66d
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x58db07
mov eax, dword [ebx]
test eax, eax
je 0x58e5dc
mov eax, dword [ebp + 4]
cmp eax, 0x29a
je 0x58dafc
mov ebx, dword [esp + 0x60]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x58e6e1
mov dword [ebp], ebx
mov ebx, dword [ebp + 0x28]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x64]
mov dword [ebp + 0x28], ebx
cmp eax, 0x2a
je 0x58dd24
cmp eax, 0x45
je 0x58ddfc
mov edx, dword [ebp + 0x14]
cmp eax, 0x49
je 0x58e124
cmp eax, 0x5b
je 0x58e634
cmp eax, 0x67
je 0x58e62c
test edx, edx
jne 0x58db20
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x58e0c8
mov ecx, dword [esp + 0x64]
shl ecx, 1
xor eax, eax
cmp dword [esp + 0x64], 5
sete al
lea eax, [eax + eax*8]
sub ecx, eax
mov edx, dword [esp + 0x3c]
shl edx, 1
xor eax, eax
cmp dword [esp + 0x3c], 5
setge al
lea eax, [eax + eax*8]
sub edx, eax
cmp ecx, edx
jg 0x58da30
cmp dword [esp + 0x64], 4
jne 0x58e6e1
mov edx, dword [ebp + 4]
nop
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x58db6d
mov edi, dword [esp + 0x64]
test edi, edi
je 0x58dbc3
cmp edx, 0x29a
jne 0x58db6d
nop
cmp dword [esp + 0x64], 4
jne 0x58dbc3
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x58ea23
cmp eax, 2
je 0x58e98c
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x30]
mov ecx, edx
shr ecx, 0x10
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
shr edx, 0x18
mov byte [ebx + eax], dl
mov edx, dword [ebp + 8]
mov byte [edx + eax + 1], cl
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x30]
movzx edx, bx
mov ecx, dword [ebp + 8]
mov ebx, edx
shr ebx, 8
mov byte [ecx + eax + 2], bl
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 3], dl
add eax, 4
mov dword [ebp + 0x14], eax
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x1c]
mov dword [esp], ebx
call fcn.005923f8
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, edx
ja 0x58e6f3
test eax, eax
jne 0x58e71e
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x58daea
neg eax
mov dword [ebp + 0x18], eax
xor eax, eax
mov edx, dword [ebp + 0x14]
test edx, edx
sete al
jmp 0x58dbc5
cmp dword [esp + 0x64], 4
je 0x58d990
mov eax, dword [str.stream_error]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x18], eax
mov eax, 0xfffffffe
jmp 0x58dbc5
mov edi, dword [esp + 0x60]
mov ebx, dword [edi + 0x1c]
mov dword [esp], ebx
call fcn.005923f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi + 0x10]
mov eax, edx
cmp edx, ecx
ja 0x58e028
test eax, eax
jne 0x58e032
test edx, edx
je 0x58dd18
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 4]
mov edx, dword [ebp + 4]
cmp edx, 0x29a
je 0x58e0d7
test eax, eax
je 0x58da34
mov eax, dword [ebp + 0x88]
cmp eax, 2
je 0x58df16
cmp eax, 3
je 0x58e1ac
mov eax, dword [ebp + 0x84]
lea eax, [eax + eax*2]
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov dword [esp], ebp
call dword [eax*4 + 0x615e88]
lea edx, [eax - 2]
cmp edx, 1
jbe 0x58dc34
test eax, eax
jne 0x58dc3b
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x58dd18
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x6c]
sub eax, edx
test edx, edx
js 0x58eaa4
add edx, dword [ebp + 0x38]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebp
call fcn.005925b0
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], eax
mov edx, dword [ebp]
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005923f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58dc20
mov eax, ecx
test eax, eax
jne 0x58ea37
mov eax, dword [ebp]
cmp dword [eax + 0x10], 1
sbb eax, eax
add eax, 3
mov dword [ebp + 4], 0x29a
cmp eax, 2
je 0x58dbb4
dec eax
jne 0x58da58
cmp dword [esp + 0x64], 1
je 0x58eaab
cmp dword [esp + 0x64], 5
je 0x58dcba
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.005922b4
cmp dword [esp + 0x64], 3
jne 0x58dcba
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x4c]
mov word [edx + eax*2 - 2], 0
lea ecx, [eax + eax - 2]
xor eax, eax
mov edi, edx
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x74]
test ecx, ecx
jne 0x58dcba
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x16b4], 0
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x1c]
mov dword [esp], ebx
call fcn.005923f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esi + 0x10]
mov eax, edx
cmp edx, ecx
jbe 0x58dcd7
mov eax, ecx
test eax, eax
je 0x58dd0f
mov edi, dword [esp + 0x60]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x24], edi
mov esi, dword [ebx + 0x10]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x60]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58dd08
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x58da58
nop
mov dword [ebp + 0x28], 0xffffffff
jmp 0x58dbc3
cmp dword [ebp + 0x18], 2
je 0x58e7b0
mov eax, dword [ebp + 0x30]
shl eax, 0xc
sub eax, 0x7800
cmp dword [ebp + 0x88], 1
jle 0x58e071
xor ecx, ecx
or ecx, eax
mov esi, dword [ebp + 0x6c]
test esi, esi
je 0x58dd54
or ecx, 0x20
mov ebx, 0x1f
mov eax, ecx
xor edx, edx
div ebx
add ecx, 0x1f
sub ecx, edx
mov dword [ebp + 4], 0x71
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov ebx, ecx
shr ebx, 8
mov byte [edx + eax], bl
mov edx, dword [ebp + 8]
mov byte [edx + eax + 1], cl
lea edx, [eax + 2]
mov dword [ebp + 0x14], edx
mov ebx, dword [ebp + 0x6c]
test ebx, ebx
je 0x58ddcd
mov ebx, dword [esp + 0x60]
mov ecx, dword [ebx + 0x30]
mov ebx, ecx
shr ebx, 0x10
mov esi, dword [ebp + 8]
shr ecx, 0x18
mov byte [esi + eax + 2], cl
mov edx, dword [ebp + 8]
mov byte [edx + eax + 3], bl
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x30]
movzx edx, bx
mov ecx, dword [ebp + 8]
mov ebx, edx
shr ebx, 8
mov byte [ecx + eax + 4], bl
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 5], dl
add eax, 6
mov dword [ebp + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0058f870
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 4]
cmp eax, 0x45
jne 0x58d9c2
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x58e754
mov ebx, dword [ebp + 0x20]
mov ecx, ebx
movzx esi, word [eax + 0x14]
cmp esi, ebx
jbe 0x58e701
mov dword [esp + 0x38], edx
mov esi, edx
mov edx, dword [esp + 0x60]
jmp 0x58de56
mov eax, dword [eax + 0x10]
mov cl, byte [eax + ebx]
mov eax, dword [ebp + 8]
mov byte [eax + esi], cl
inc esi
mov dword [ebp + 0x14], esi
mov ecx, dword [ebp + 0x20]
lea ebx, [ecx + 1]
mov ecx, ebx
mov dword [ebp + 0x20], ebx
mov eax, dword [ebp + 0x1c]
movzx edi, word [eax + 0x14]
cmp edi, ebx
jbe 0x58e0f8
cmp dword [ebp + 0xc], esi
jne 0x58de2c
mov edi, dword [eax + 0x2c]
test edi, edi
je 0x58de6c
cmp esi, dword [esp + 0x38]
ja 0x58e5ac
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005923f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58de8b
mov eax, ecx
test eax, eax
jne 0x58e09c
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
cmp eax, dword [ebp + 0xc]
je 0x58e709
mov esi, eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
jmp 0x58de2c
mov eax, dword [ebp + 0x5c]
sub ecx, eax
test eax, eax
js 0x58e677
add eax, dword [ebp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.005925b0
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], eax
mov ebx, dword [ebp]
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x18], eax
call fcn.005923f8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebx + 0x10]
cmp edx, ecx
jbe 0x58df00
mov edx, ecx
test edx, edx
jne 0x58e63c
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x58dbb4
mov edx, dword [ebp + 0x74]
jmp 0x58df74
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x6c]
movzx edx, byte [edx + eax]
mov eax, dword [ebp + 0x16a0]
mov ecx, dword [ebp + 0x16a4]
mov word [ecx + eax*2], 0
mov ecx, dword [ebp + 0x1698]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp + 0x16a0], eax
inc word [ebp + edx*4 + 0x94]
mov ebx, dword [ebp + 0x169c]
dec ebx
mov edx, dword [ebp + 0x74]
dec edx
mov dword [ebp + 0x74], edx
mov ecx, dword [ebp + 0x6c]
inc ecx
mov dword [ebp + 0x6c], ecx
cmp eax, ebx
je 0x58deb0
test edx, edx
jne 0x58df1c
mov eax, ebp
call fcn.0058c204
mov esi, dword [ebp + 0x74]
test esi, esi
jne 0x58df1c
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x58dbb4
mov dword [ebp + 0x16b4], 0
cmp dword [esp + 0x64], 4
je 0x58dbcd
mov edi, dword [ebp + 0x16a0]
test edi, edi
je 0x58dc4b
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x6c]
sub eax, edx
test edx, edx
js 0x58e6fa
add edx, dword [ebp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebp
call fcn.005925b0
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], eax
mov edx, dword [ebp]
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005923f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e008
mov eax, ecx
test eax, eax
jne 0x58e9f9
mov eax, dword [ebp]
mov esi, dword [eax + 0x10]
xor eax, eax
test esi, esi
setne al
lea edx, [eax - 2]
jmp 0x58dba3
mov eax, ecx
test eax, eax
je 0x58db47
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x28], edx
mov esi, dword [ebx + 0x10]
mov edi, edx
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x60]
add dword [ecx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [ecx + 0x14], eax
sub dword [ecx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58e716
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x10]
jmp 0x58db47
mov edx, dword [ebp + 0x84]
cmp edx, 1
jle 0x58dd46
cmp edx, 5
jle 0x58ea2d
cmp edx, 6
je 0x58eb47
mov ecx, 0xc0
jmp 0x58dd48
mov esi, dword [ebx + 0x10]
mov edi, dword [edx + 0xc]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58de93
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58de93
mov edx, dword [ebp + 4]
cmp edx, 0x29a
jne 0x58db6d
test eax, eax
je 0x58da34
mov eax, dword [str.buffer_error]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x18], eax
mov eax, 0xfffffffb
jmp 0x58dbc5
mov edi, dword [esp + 0x38]
mov edx, esi
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x58e10d
cmp edi, esi
jb 0x58e950
cmp ecx, dword [eax + 0x14]
je 0x58e67e
mov eax, dword [ebp + 4]
cmp eax, 0x49
jne 0x58d9ce
nop
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x58e76c
mov ecx, edx
mov esi, edx
mov edx, dword [esp + 0x60]
jmp 0x58e15e
mov ebx, dword [ebp + 0x20]
mov eax, dword [eax + 0x1c]
mov al, byte [eax + ebx]
inc ebx
mov dword [ebp + 0x20], ebx
mov ebx, dword [ebp + 8]
mov byte [ebx + ecx], al
inc ecx
mov dword [ebp + 0x14], ecx
test al, al
je 0x58e42c
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0xc], ecx
jne 0x58e13c
mov edi, dword [eax + 0x2c]
test edi, edi
je 0x58e172
cmp esi, ecx
jb 0x58e6b9
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005923f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e191
mov eax, ecx
test eax, eax
jne 0x58e554
mov esi, dword [ebp + 0x14]
cmp esi, dword [ebp + 0xc]
je 0x58ebca
mov eax, dword [ebp + 0x1c]
mov ecx, esi
jmp 0x58e13c
movzx ebx, byte [0x6181a0]
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x14], ebx
jmp 0x58e235
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x38]
test edx, edx
je 0x58e1e3
lea esi, [ecx + edx - 1]
movzx edi, byte [esi]
mov dword [esp + 0x34], edi
mov bl, byte [esi]
cmp byte [esi + 1], bl
je 0x58e280
movzx edx, byte [ecx + edx]
mov eax, dword [ebp + 0x16a0]
mov ecx, dword [ebp + 0x16a4]
mov word [ecx + eax*2], 0
mov ecx, dword [ebp + 0x1698]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp + 0x16a0], eax
inc word [ebp + edx*4 + 0x94]
mov edx, dword [ebp + 0x169c]
dec edx
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, dword [ebp + 0x74]
dec eax
mov dword [ebp + 0x74], eax
mov edx, dword [ebp + 0x6c]
inc edx
mov dword [ebp + 0x6c], edx
test ecx, ecx
jne 0x58e3b4
cmp eax, 0x102
ja 0x58e1bc
mov eax, ebp
call fcn.0058c204
mov eax, dword [ebp + 0x74]
cmp eax, 0x102
ja 0x58e1bc
mov edx, dword [esp + 0x64]
test edx, edx
je 0x58dbb4
test eax, eax
je 0x58df92
mov dword [ebp + 0x60], 0
cmp eax, 2
ja 0x58e1c3
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x6c]
jmp 0x58e1e3
movzx edi, byte [esi + 2]
cmp dword [esp + 0x34], edi
jne 0x58e1e3
movzx edi, byte [esi + 3]
cmp dword [esp + 0x34], edi
jne 0x58e1e3
lea edi, [esi + 3]
lea esi, [ecx + edx + 0x102]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
jmp 0x58e318
movzx ebp, byte [edi + 2]
cmp esi, ebp
jne 0x58eaf7
movzx ebp, byte [edi + 3]
cmp esi, ebp
jne 0x58eb37
movzx ebp, byte [edi + 4]
cmp esi, ebp
jne 0x58eb27
movzx ebp, byte [edi + 5]
cmp esi, ebp
jne 0x58eb17
movzx ebp, byte [edi + 6]
cmp esi, ebp
jne 0x58eb07
movzx ebp, byte [edi + 7]
cmp esi, ebp
jne 0x58eae7
add edi, 8
movzx ebp, byte [edi]
cmp esi, ebp
jne 0x58ea97
cmp edi, dword [esp + 0x38]
jae 0x58ea97
movzx ebp, byte [edi + 1]
cmp esi, ebp
je 0x58e2b8
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
inc edi
sub edi, dword [esp + 0x38]
lea esi, [edi + 0x102]
mov dword [ebp + 0x60], esi
cmp esi, eax
jbe 0x58e97d
mov dword [ebp + 0x60], eax
mov esi, eax
lea edx, [esi - 3]
mov eax, dword [ebp + 0x16a0]
mov ecx, dword [ebp + 0x16a4]
mov word [ecx + eax*2], 1
mov ecx, dword [ebp + 0x1698]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp + 0x16a0], eax
movzx edx, dl
movzx edx, byte [edx + 0x6180a0]
inc word [ebp + edx*4 + 0x498]
mov edi, dword [esp + 0x14]
inc word [ebp + edi*4 + 0x988]
mov edx, dword [ebp + 0x169c]
dec edx
xor ecx, ecx
cmp eax, edx
sete cl
mov edx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x74]
sub eax, edx
mov dword [ebp + 0x74], eax
add edx, dword [ebp + 0x6c]
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x60], 0
test ecx, ecx
je 0x58e235
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x5c]
sub edx, eax
test eax, eax
js 0x58e666
add eax, dword [ebp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.005925b0
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp], edx
mov dword [esp + 0x18], eax
call fcn.005923f8
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x10]
cmp edx, ecx
jbe 0x58e410
mov edx, ecx
test edx, edx
jne 0x58e5ec
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x58e1b3
jmp 0x58dbb4
mov edx, esi
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x58e440
cmp esi, ecx
jb 0x58e902
mov dword [ebp + 0x20], 0
mov dword [ebp + 4], 0x5b
mov edx, dword [ebp + 0x14]
mov edi, dword [eax + 0x24]
test edi, edi
je 0x58e760
mov ecx, edx
mov ebx, edx
mov edx, dword [esp + 0x60]
jmp 0x58e486
mov esi, dword [ebp + 0x20]
mov eax, dword [eax + 0x24]
mov al, byte [eax + esi]
inc esi
mov dword [ebp + 0x20], esi
mov esi, dword [ebp + 8]
mov byte [esi + ebx], al
inc ebx
mov dword [ebp + 0x14], ebx
test al, al
je 0x58e4d4
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0xc], ebx
jne 0x58e468
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x58e49a
cmp ecx, ebx
jb 0x58e691
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005923f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e4b9
mov eax, ecx
test eax, eax
jne 0x58e580
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp + 0xc]
je 0x58ebc0
mov eax, dword [ebp + 0x1c]
mov ebx, ecx
jmp 0x58e468
mov edx, ebx
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x58e4e8
cmp ecx, edx
jb 0x58e929
mov dword [ebp + 4], 0x67
mov edx, dword [ebp + 0x14]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x58e620
lea eax, [edx + 2]
cmp eax, dword [ebp + 0xc]
ja 0x58e778
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x60]
mov ecx, dword [esi + 0x30]
mov byte [ebx + edx], cl
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
shr ecx, 8
mov byte [ebx + edx + 1], cl
mov dword [ebp + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0058f58c
mov dword [esi + 0x30], eax
mov dword [ebp + 4], 0x71
mov edx, dword [ebp + 0x14]
jmp 0x58d9e0
mov esi, dword [ebx + 0x10]
mov edi, dword [edx + 0xc]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58e199
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e199
mov esi, dword [ebx + 0x10]
mov edi, dword [edx + 0xc]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58e4c1
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e4c1
sub esi, dword [esp + 0x38]
mov dword [esp + 8], esi
mov eax, dword [esp + 0x38]
add eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov dword [esp], eax
mov dword [esp + 0x18], edx
call fcn.0058f58c
mov edx, dword [esp + 0x18]
mov dword [edx + 0x30], eax
jmp 0x58de6c
mov eax, dword [ebx + 4]
test eax, eax
je 0x58d982
jmp 0x58db07
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 0x10]
mov edi, dword [eax + 0xc]
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
add dword [eax + 0xc], edx
mov esi, dword [esp + 0x34]
add dword [esi + 0x10], edx
add dword [eax + 0x14], edx
sub dword [eax + 0x10], edx
sub dword [esi + 0x14], edx
jne 0x58e418
mov edx, dword [esi + 8]
mov dword [esi + 0x10], edx
jmp 0x58e418
mov dword [ebp + 4], 0x71
jmp 0x58d9e0
mov eax, dword [ebp + 0x1c]
jmp 0x58e4f2
mov eax, dword [ebp + 0x1c]
jmp 0x58e451
mov esi, dword [eax + 0x10]
mov edi, dword [ebx + 0xc]
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0xc], edx
add dword [eax + 0x10], edx
add dword [ebx + 0x14], edx
sub dword [ebx + 0x10], edx
sub dword [eax + 0x14], edx
jne 0x58df08
mov edx, dword [eax + 8]
mov dword [eax + 0x10], edx
jmp 0x58df08
xor eax, eax
jmp 0x58e3c8
mov eax, 0xfffffffe
jmp 0x58dbc5
xor eax, eax
jmp 0x58dec0
mov dword [ebp + 0x20], 0
mov dword [ebp + 4], 0x49
jmp 0x58e127
sub ebx, ecx
mov dword [esp + 8], ebx
add ecx, dword [ebp + 8]
mov dword [esp + 4], ecx
mov eax, dword [edx + 0x30]
mov dword [esp], eax
mov dword [esp + 0x18], edx
call fcn.0058f58c
mov edx, dword [esp + 0x18]
mov dword [edx + 0x30], eax
jmp 0x58e49a
sub ecx, esi
mov dword [esp + 8], ecx
add esi, dword [ebp + 8]
mov dword [esp + 4], esi
mov eax, dword [edx + 0x30]
mov dword [esp], eax
mov dword [esp + 0x18], edx
call fcn.0058f58c
mov edx, dword [esp + 0x18]
mov dword [edx + 0x30], eax
jmp 0x58e172
mov eax, dword [str.buffer_error]
mov dword [ebx + 0x18], eax
mov eax, 0xfffffffb
jmp 0x58dbc5
mov eax, edx
jmp 0x58dad6
xor edx, edx
jmp 0x58dfc8
mov edx, dword [ebp + 0x14]
jmp 0x58e10d
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
jmp 0x58e10d
mov edx, dword [ecx + 0x10]
jmp 0x58db47
mov edi, dword [esp + 0x60]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x1c], edi
mov esi, dword [ebx + 0x10]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x60]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58dade
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58dade
mov dword [ebp + 4], 0x49
jmp 0x58e127
mov dword [ebp + 4], 0x67
jmp 0x58e4f2
mov dword [ebp + 4], 0x5b
jmp 0x58e451
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x1c]
mov dword [esp], ebx
call fcn.005923f8
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, edx
jbe 0x58e793
mov eax, edx
test eax, eax
jne 0x58ea61
mov edx, dword [ebp + 0x14]
lea eax, [edx + 2]
cmp eax, dword [ebp + 0xc]
ja 0x58d9e0
jmp 0x58e509
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0058f58c
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x30], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov byte [eax + ecx], 0x1f
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 1], 0x8b
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 2], 8
lea ebx, [ecx + 3]
mov dword [ebp + 0x14], ebx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x58eb51
add ebx, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
setne dl
mov esi, edx
cmp dword [eax + 0x2c], 1
sbb edx, edx
not edx
and edx, 2
add esi, edx
cmp dword [eax + 0x10], 1
sbb edx, edx
not edx
and edx, 4
add esi, edx
cmp dword [eax + 0x1c], 1
sbb edx, edx
not edx
and edx, 8
add edx, esi
cmp dword [eax + 0x24], 1
sbb eax, eax
not eax
and eax, 0x10
add eax, edx
mov byte [ebx], al
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx + 4]
mov byte [eax + ecx + 4], dl
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
shr eax, 8
mov byte [edx + ecx + 5], al
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
movzx edx, word [edx + 6]
mov byte [eax + ecx + 6], dl
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
movzx edx, byte [edx + 7]
mov byte [eax + ecx + 7], dl
lea eax, [ecx + 8]
mov dword [ebp + 0x14], eax
add eax, dword [ebp + 8]
mov edx, dword [ebp + 0x84]
cmp edx, 9
je 0x58eab8
cmp dword [ebp + 0x88], 1
jle 0x58e8fb
mov dl, 4
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx + 0xc]
mov byte [eax + ecx + 9], dl
lea edx, [ecx + 0xa]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x58e8dd
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov byte [ebx + edx], al
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x14]
shr eax, 8
mov byte [edx + ecx + 0xb], al
lea edx, [ecx + 0xc]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x58eabf
mov dword [ebp + 0x20], 0
mov dword [ebp + 4], 0x45
jmp 0x58de02
dec edx
jle 0x58e89a
xor edx, edx
jmp 0x58e89c
sub ecx, esi
mov dword [esp + 8], ecx
add edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0058f58c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
jmp 0x58e440
sub edx, ecx
mov dword [esp + 8], edx
add ecx, dword [ebp + 8]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0058f58c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
jmp 0x58e4e8
sub edx, edi
mov dword [esp + 8], edx
add edi, dword [ebp + 8]
mov dword [esp + 4], edi
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0058f58c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
jmp 0x58e10d
cmp esi, 2
ja 0x58e343
jmp 0x58e1e3
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x30]
mov byte [ecx + eax], dl
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x30]
shr edx, 8
mov byte [ecx + eax + 1], dl
mov edx, dword [ebp + 8]
movzx ecx, word [ebx + 0x32]
mov byte [edx + eax + 2], cl
mov edx, dword [ebp + 8]
movzx ecx, byte [ebx + 0x33]
mov byte [edx + eax + 3], cl
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 8]
mov byte [ecx + eax + 4], dl
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 8]
shr edx, 8
mov byte [ecx + eax + 5], dl
mov edx, dword [ebp + 8]
movzx ecx, word [ebx + 0xa]
mov byte [edx + eax + 6], cl
mov edx, dword [ebp + 8]
movzx ecx, byte [ebx + 0xb]
mov byte [edx + eax + 7], cl
add eax, 8
mov dword [ebp + 0x14], eax
mov esi, ebx
jmp 0x58dabd
mov esi, dword [ebx + 0x10]
mov edi, dword [edx + 0xc]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58e010
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e010
mov eax, 1
jmp 0x58dbc5
mov ecx, 0x40
jmp 0x58dd48
mov esi, dword [ebx + 0x10]
mov edi, dword [edx + 0xc]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58dc28
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58dc28
mov edi, dword [esp + 0x60]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x2c], edi
mov esi, dword [ebx + 0x10]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x60]
add dword [edx + 0xc], eax
add dword [ebx + 0x10], eax
add dword [edx + 0x14], eax
sub dword [edx + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x58e79b
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e79b
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
jmp 0x58e329
xor edx, edx
jmp 0x58dbe0
mov dword [esp], ebp
call fcn.0059246c
jmp 0x58dcba
mov dl, 2
jmp 0x58e89c
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0058f58c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
jmp 0x58e8e8
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 7
jmp 0x58e329
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 2
jmp 0x58e329
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 6
jmp 0x58e329
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 5
jmp 0x58e329
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 4
jmp 0x58e329
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 3
jmp 0x58e329
mov ecx, pe_nt_image_headers32
jmp 0x58dd48
mov eax, dword [ebp + 8]
mov byte [eax + ebx], 0
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 4], 0
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 5], 0
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 6], 0
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 7], 0
lea eax, [ecx + 8]
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp + 0x84]
cmp eax, 9
je 0x58ebbc
cmp dword [ebp + 0x88], 1
jle 0x58ebb5
mov al, 4
mov byte [edx], al
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 9], 0xb
lea edx, [ecx + 0xa]
mov dword [ebp + 0x14], edx
mov dword [ebp + 4], 0x71
jmp 0x58d9e0
dec eax
jle 0x58eb97
xor eax, eax
jmp 0x58eb99
mov al, 2
jmp 0x58eb99
mov eax, dword [ebp + 4]
mov edx, ecx
jmp 0x58d9d7
mov edx, esi
mov eax, dword [ebp + 4]
jmp 0x58d9ce