Function at 0x58dd34
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 0x58ea6d
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
je 0x58ea6d
cmp dword [esp + 0x64], 5
jg 0x58ea6d
mov eax, dword [esp + 0x64]
test eax, eax
js 0x58ea6d
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x58df07
mov eax, dword [ebx]
test eax, eax
je 0x58e9dc
mov eax, dword [ebp + 4]
cmp eax, 0x29a
je 0x58defc
mov ebx, dword [esp + 0x60]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x58eae1
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 0x58e124
cmp eax, 0x45
je 0x58e1fc
mov edx, dword [ebp + 0x14]
cmp eax, 0x49
je 0x58e524
cmp eax, 0x5b
je 0x58ea34
cmp eax, 0x67
je 0x58ea2c
test edx, edx
jne 0x58df20
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x58e4c8
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 0x58de30
cmp dword [esp + 0x64], 4
jne 0x58eae1
mov edx, dword [ebp + 4]
nop
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x58df6d
mov edi, dword [esp + 0x64]
test edi, edi
je 0x58dfc3
cmp edx, 0x29a
jne 0x58df6d
nop
cmp dword [esp + 0x64], 4
jne 0x58dfc3
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x58ee23
cmp eax, 2
je 0x58ed8c
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.005927f8
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, edx
ja 0x58eaf3
test eax, eax
jne 0x58eb1e
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x58deea
neg eax
mov dword [ebp + 0x18], eax
xor eax, eax
mov edx, dword [ebp + 0x14]
test edx, edx
sete al
jmp 0x58dfc5
cmp dword [esp + 0x64], 4
je 0x58dd90
mov eax, dword [str.stream_error]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x18], eax
mov eax, 0xfffffffe
jmp 0x58dfc5
mov edi, dword [esp + 0x60]
mov ebx, dword [edi + 0x1c]
mov dword [esp], ebx
call fcn.005927f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi + 0x10]
mov eax, edx
cmp edx, ecx
ja 0x58e428
test eax, eax
jne 0x58e432
test edx, edx
je 0x58e118
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 4]
mov edx, dword [ebp + 4]
cmp edx, 0x29a
je 0x58e4d7
test eax, eax
je 0x58de34
mov eax, dword [ebp + 0x88]
cmp eax, 2
je 0x58e316
cmp eax, 3
je 0x58e5ac
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 + 0x615f68]
lea edx, [eax - 2]
cmp edx, 1
jbe 0x58e034
test eax, eax
jne 0x58e03b
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x58e118
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 0x58eea4
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.005929b0
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.005927f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e020
mov eax, ecx
test eax, eax
jne 0x58ee37
mov eax, dword [ebp]
cmp dword [eax + 0x10], 1
sbb eax, eax
add eax, 3
mov dword [ebp + 4], 0x29a
cmp eax, 2
je 0x58dfb4
dec eax
jne 0x58de58
cmp dword [esp + 0x64], 1
je 0x58eeab
cmp dword [esp + 0x64], 5
je 0x58e0ba
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.005926b4
cmp dword [esp + 0x64], 3
jne 0x58e0ba
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 0x58e0ba
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.005927f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esi + 0x10]
mov eax, edx
cmp edx, ecx
jbe 0x58e0d7
mov eax, ecx
test eax, eax
je 0x58e10f
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 0x58e108
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x58de58
nop
mov dword [ebp + 0x28], 0xffffffff
jmp 0x58dfc3
cmp dword [ebp + 0x18], 2
je 0x58ebb0
mov eax, dword [ebp + 0x30]
shl eax, 0xc
sub eax, 0x7800
cmp dword [ebp + 0x88], 1
jle 0x58e471
xor ecx, ecx
or ecx, eax
mov esi, dword [ebp + 0x6c]
test esi, esi
je 0x58e154
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 0x58e1cd
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.0058fc70
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 4]
cmp eax, 0x45
jne 0x58ddc2
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x58eb54
mov ebx, dword [ebp + 0x20]
mov ecx, ebx
movzx esi, word [eax + 0x14]
cmp esi, ebx
jbe 0x58eb01
mov dword [esp + 0x38], edx
mov esi, edx
mov edx, dword [esp + 0x60]
jmp 0x58e256
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 0x58e4f8
cmp dword [ebp + 0xc], esi
jne 0x58e22c
mov edi, dword [eax + 0x2c]
test edi, edi
je 0x58e26c
cmp esi, dword [esp + 0x38]
ja 0x58e9ac
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005927f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e28b
mov eax, ecx
test eax, eax
jne 0x58e49c
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
cmp eax, dword [ebp + 0xc]
je 0x58eb09
mov esi, eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
jmp 0x58e22c
mov eax, dword [ebp + 0x5c]
sub ecx, eax
test eax, eax
js 0x58ea77
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.005929b0
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.005927f8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebx + 0x10]
cmp edx, ecx
jbe 0x58e300
mov edx, ecx
test edx, edx
jne 0x58ea3c
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x58dfb4
mov edx, dword [ebp + 0x74]
jmp 0x58e374
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 0x58e2b0
test edx, edx
jne 0x58e31c
mov eax, ebp
call fcn.0058c604
mov esi, dword [ebp + 0x74]
test esi, esi
jne 0x58e31c
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x58dfb4
mov dword [ebp + 0x16b4], 0
cmp dword [esp + 0x64], 4
je 0x58dfcd
mov edi, dword [ebp + 0x16a0]
test edi, edi
je 0x58e04b
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x6c]
sub eax, edx
test edx, edx
js 0x58eafa
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.005929b0
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.005927f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e408
mov eax, ecx
test eax, eax
jne 0x58edf9
mov eax, dword [ebp]
mov esi, dword [eax + 0x10]
xor eax, eax
test esi, esi
setne al
lea edx, [eax - 2]
jmp 0x58dfa3
mov eax, ecx
test eax, eax
je 0x58df47
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 0x58eb16
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x10]
jmp 0x58df47
mov edx, dword [ebp + 0x84]
cmp edx, 1
jle 0x58e146
cmp edx, 5
jle 0x58ee2d
cmp edx, 6
je 0x58ef47
mov ecx, 0xc0
jmp 0x58e148
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 0x58e293
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e293
mov edx, dword [ebp + 4]
cmp edx, 0x29a
jne 0x58df6d
test eax, eax
je 0x58de34
mov eax, dword [str.buffer_error]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x18], eax
mov eax, 0xfffffffb
jmp 0x58dfc5
mov edi, dword [esp + 0x38]
mov edx, esi
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x58e50d
cmp edi, esi
jb 0x58ed50
cmp ecx, dword [eax + 0x14]
je 0x58ea7e
mov eax, dword [ebp + 4]
cmp eax, 0x49
jne 0x58ddce
nop
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x58eb6c
mov ecx, edx
mov esi, edx
mov edx, dword [esp + 0x60]
jmp 0x58e55e
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 0x58e82c
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0xc], ecx
jne 0x58e53c
mov edi, dword [eax + 0x2c]
test edi, edi
je 0x58e572
cmp esi, ecx
jb 0x58eab9
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005927f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e591
mov eax, ecx
test eax, eax
jne 0x58e954
mov esi, dword [ebp + 0x14]
cmp esi, dword [ebp + 0xc]
je 0x58efca
mov eax, dword [ebp + 0x1c]
mov ecx, esi
jmp 0x58e53c
movzx ebx, byte [0x618280]
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x14], ebx
jmp 0x58e635
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x38]
test edx, edx
je 0x58e5e3
lea esi, [ecx + edx - 1]
movzx edi, byte [esi]
mov dword [esp + 0x34], edi
mov bl, byte [esi]
cmp byte [esi + 1], bl
je 0x58e680
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 0x58e7b4
cmp eax, 0x102
ja 0x58e5bc
mov eax, ebp
call fcn.0058c604
mov eax, dword [ebp + 0x74]
cmp eax, 0x102
ja 0x58e5bc
mov edx, dword [esp + 0x64]
test edx, edx
je 0x58dfb4
test eax, eax
je 0x58e392
mov dword [ebp + 0x60], 0
cmp eax, 2
ja 0x58e5c3
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x6c]
jmp 0x58e5e3
movzx edi, byte [esi + 2]
cmp dword [esp + 0x34], edi
jne 0x58e5e3
movzx edi, byte [esi + 3]
cmp dword [esp + 0x34], edi
jne 0x58e5e3
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 0x58e718
movzx ebp, byte [edi + 2]
cmp esi, ebp
jne 0x58eef7
movzx ebp, byte [edi + 3]
cmp esi, ebp
jne 0x58ef37
movzx ebp, byte [edi + 4]
cmp esi, ebp
jne 0x58ef27
movzx ebp, byte [edi + 5]
cmp esi, ebp
jne 0x58ef17
movzx ebp, byte [edi + 6]
cmp esi, ebp
jne 0x58ef07
movzx ebp, byte [edi + 7]
cmp esi, ebp
jne 0x58eee7
add edi, 8
movzx ebp, byte [edi]
cmp esi, ebp
jne 0x58ee97
cmp edi, dword [esp + 0x38]
jae 0x58ee97
movzx ebp, byte [edi + 1]
cmp esi, ebp
je 0x58e6b8
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 0x58ed7d
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 + 0x618180]
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 0x58e635
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x5c]
sub edx, eax
test eax, eax
js 0x58ea66
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.005929b0
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.005927f8
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x10]
cmp edx, ecx
jbe 0x58e810
mov edx, ecx
test edx, edx
jne 0x58e9ec
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x58e5b3
jmp 0x58dfb4
mov edx, esi
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x58e840
cmp esi, ecx
jb 0x58ed02
mov dword [ebp + 0x20], 0
mov dword [ebp + 4], 0x5b
mov edx, dword [ebp + 0x14]
mov edi, dword [eax + 0x24]
test edi, edi
je 0x58eb60
mov ecx, edx
mov ebx, edx
mov edx, dword [esp + 0x60]
jmp 0x58e886
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 0x58e8d4
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0xc], ebx
jne 0x58e868
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x58e89a
cmp ecx, ebx
jb 0x58ea91
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
call fcn.005927f8
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jbe 0x58e8b9
mov eax, ecx
test eax, eax
jne 0x58e980
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp + 0xc]
je 0x58efc0
mov eax, dword [ebp + 0x1c]
mov ebx, ecx
jmp 0x58e868
mov edx, ebx
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x58e8e8
cmp ecx, edx
jb 0x58ed29
mov dword [ebp + 4], 0x67
mov edx, dword [ebp + 0x14]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x58ea20
lea eax, [edx + 2]
cmp eax, dword [ebp + 0xc]
ja 0x58eb78
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.0058f98c
mov dword [esi + 0x30], eax
mov dword [ebp + 4], 0x71
mov edx, dword [ebp + 0x14]
jmp 0x58dde0
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 0x58e599
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e599
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 0x58e8c1
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e8c1
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.0058f98c
mov edx, dword [esp + 0x18]
mov dword [edx + 0x30], eax
jmp 0x58e26c
mov eax, dword [ebx + 4]
test eax, eax
je 0x58dd82
jmp 0x58df07
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 0x58e818
mov edx, dword [esi + 8]
mov dword [esi + 0x10], edx
jmp 0x58e818
mov dword [ebp + 4], 0x71
jmp 0x58dde0
mov eax, dword [ebp + 0x1c]
jmp 0x58e8f2
mov eax, dword [ebp + 0x1c]
jmp 0x58e851
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 0x58e308
mov edx, dword [eax + 8]
mov dword [eax + 0x10], edx
jmp 0x58e308
xor eax, eax
jmp 0x58e7c8
mov eax, 0xfffffffe
jmp 0x58dfc5
xor eax, eax
jmp 0x58e2c0
mov dword [ebp + 0x20], 0
mov dword [ebp + 4], 0x49
jmp 0x58e527
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.0058f98c
mov edx, dword [esp + 0x18]
mov dword [edx + 0x30], eax
jmp 0x58e89a
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.0058f98c
mov edx, dword [esp + 0x18]
mov dword [edx + 0x30], eax
jmp 0x58e572
mov eax, dword [str.buffer_error]
mov dword [ebx + 0x18], eax
mov eax, 0xfffffffb
jmp 0x58dfc5
mov eax, edx
jmp 0x58ded6
xor edx, edx
jmp 0x58e3c8
mov edx, dword [ebp + 0x14]
jmp 0x58e50d
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
jmp 0x58e50d
mov edx, dword [ecx + 0x10]
jmp 0x58df47
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 0x58dede
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58dede
mov dword [ebp + 4], 0x49
jmp 0x58e527
mov dword [ebp + 4], 0x67
jmp 0x58e8f2
mov dword [ebp + 4], 0x5b
jmp 0x58e851
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x1c]
mov dword [esp], ebx
call fcn.005927f8
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, edx
jbe 0x58eb93
mov eax, edx
test eax, eax
jne 0x58ee61
mov edx, dword [ebp + 0x14]
lea eax, [edx + 2]
cmp eax, dword [ebp + 0xc]
ja 0x58dde0
jmp 0x58e909
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0058f98c
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 0x58ef51
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 0x58eeb8
cmp dword [ebp + 0x88], 1
jle 0x58ecfb
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 0x58ecdd
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 0x58eebf
mov dword [ebp + 0x20], 0
mov dword [ebp + 4], 0x45
jmp 0x58e202
dec edx
jle 0x58ec9a
xor edx, edx
jmp 0x58ec9c
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.0058f98c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
jmp 0x58e840
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.0058f98c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
jmp 0x58e8e8
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.0058f98c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
jmp 0x58e50d
cmp esi, 2
ja 0x58e743
jmp 0x58e5e3
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 0x58debd
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 0x58e410
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e410
mov eax, 1
jmp 0x58dfc5
mov ecx, 0x40
jmp 0x58e148
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 0x58e028
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58e028
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 0x58eb9b
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
jmp 0x58eb9b
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
jmp 0x58e729
xor edx, edx
jmp 0x58dfe0
mov dword [esp], ebp
call fcn.0059286c
jmp 0x58e0ba
mov dl, 2
jmp 0x58ec9c
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.0058f98c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
jmp 0x58ece8
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 7
jmp 0x58e729
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 2
jmp 0x58e729
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 6
jmp 0x58e729
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 5
jmp 0x58e729
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 4
jmp 0x58e729
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
add edi, 3
jmp 0x58e729
mov ecx, pe_nt_image_headers32
jmp 0x58e148
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 0x58efbc
cmp dword [ebp + 0x88], 1
jle 0x58efb5
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 0x58dde0
dec eax
jle 0x58ef97
xor eax, eax
jmp 0x58ef99
mov al, 2
jmp 0x58ef99
mov eax, dword [ebp + 4]
mov edx, ecx
jmp 0x58ddd7
mov edx, esi
mov eax, dword [ebp + 4]
jmp 0x58ddce