Function at 0x411390
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 8]
lea edi, [ebx + 4]
cmp eax, 1
mov dword [ebp - 0x20], eax
jae 0x4113c6
push 0
push str.The_command_must_be_specified
lea ecx, [ebp - 0x30]
call fcn.00421465
lea eax, [ebp - 0x30]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov dword [ebp - 0xc], edx
call fcn.00411e80
test al, al
jne 0x4113fd
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
push dword [eax]
push str.Unsupported_command:
call fcn.00421465
lea eax, [ebp - 0x30]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x244], 0
je 0x411416
add eax, 0x24c
lea ecx, [esi + 0x68]
push eax
call fcn.0040530e
mov eax, dword [ebx]
cmp byte [eax + 0x258], 0
je 0x411434
mov eax, dword [eax + 0x260]
lea ecx, [esi + 0xe4]
push dword [eax]
call fcn.004031b1
mov eax, dword [ebx]
cmp byte [eax + 0x26c], 0
je 0x411475
mov eax, dword [eax + 0x274]
lea edx, [esi + 0xd0]
mov edi, dword [eax]
mov ecx, dword [edi]
call fcn.00412ecd
test al, al
jne 0x411475
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__smemx:
call fcn.00421465
lea eax, [ebp - 0x30]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x3c0], 0
je 0x411499
mov byte [esi + 0xa9], 1
mov eax, dword [ebx]
cmp byte [eax + 0x3c1], 0
sete al
mov byte [esi + 0xa8], al
mov eax, dword [ebx]
and dword [ebp - 8], 0
cmp byte [eax + 0x3d4], 0
je 0x4114d8
mov eax, dword [eax + 0x3dc]
mov dword [ebp - 8], 2
mov edi, dword [eax]
cmp dword [edi + 4], 0
je 0x4114d8
mov eax, dword [edi]
push 0x47b1f0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x41154a
mov dword [ebp - 8], 1
mov eax, dword [ebx]
cmp byte [eax + 0x4b0], 0
je 0x4114f2
cmp byte [eax + 0x4b1], 0
sete al
mov byte [0x48b490], al
mov eax, dword [ebx]
and byte [ebp - 0x36], 0
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 1
mov dword [ebp - 0x34], 2
cmp byte [eax + 0x1f4], 0
je 0x41151e
mov ecx, dword [eax + 0x1f8]
call fcn.00411e6d
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
cmp byte [eax + 0x3ac], 0
je 0x41152d
and byte [ebp - 0x37], 0
cmp byte [eax + 0x398], 0
je 0x41157f
mov eax, dword [eax + 0x3a0]
mov edi, dword [eax]
cmp dword [edi + 4], 0
jne 0x411567
mov byte [ebp - 0x36], 1
jmp 0x41157f
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__spf:
call fcn.00421465
lea eax, [ebp - 0x30]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [edi]
mov edx, 0x47ad38
call fcn.00402589
test al, al
je 0x41161e
and byte [ebp - 0x36], 0
push 0xffffffffffffffff
push 1
pop edi
mov ecx, ebx
push edi
push 0x24
pop edx
call fcn.00412de0
push 0xfde9
push 0
push 0x23
mov ecx, ebx
pop edx
mov dword [esi + 0x28], eax
call fcn.00412de0
and byte [ebp - 0x1c], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
cmp byte [eax + 0x168], 0
je 0x4115d2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
lea edx, [eax + 0x170]
mov byte [ebp - 0x1c], 1
push ecx
lea ecx, [esi + 0x2c]
mov byte [ebp - 0x38], 1
call fcn.00412299
mov eax, dword [ebx]
cmp byte [eax + 0x17c], 0
je 0x4115f6
push dword [ebp - 0x10]
and byte [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
lea edx, [eax + 0x184]
push ecx
lea ecx, [esi + 0x2c]
call fcn.00412299
mov eax, dword [ebx]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0xc]
cmp byte [eax + 0x1b8], 0
jne 0x411654
mov eax, dword [edi]
cmp eax, 7
je 0x411654
cmp eax, 8
je 0x411654
cmp eax, 9
je 0x411654
mov byte [ebp + 0xb], 1
jmp 0x411658
mov ecx, dword [edi]
mov edx, 0x47b1d8
call fcn.00402589
test al, al
je 0x411637
mov byte [ebp - 0x36], 2
jmp 0x41157f
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__spm:
call fcn.00421465
lea eax, [ebp - 0x30]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
and byte [ebp + 0xb], 0
mov ecx, edi
call fcn.00410ec5
test al, al
mov byte [ebp - 3], al
jne 0x411670
cmp dword [edi], 6
je 0x411670
and byte [ebp - 1], al
jmp 0x411674
mov byte [ebp - 1], 1
cmp dword [edi], 0xa
sete byte [ebp - 2]
cmp byte [ebp - 1], 0
jne 0x411687
cmp byte [ebp - 2], 0
je 0x411691
cmp byte [esi + 6], 0
je 0x411691
and byte [ebp + 0xb], 0
mov eax, dword [ebx]
cmp byte [eax + 0x384], 0
je 0x4116b9
mov eax, dword [eax + 0x388]
dec eax
je 0x4116b0
dec eax
je 0x4116ac
xor eax, eax
jmp 0x4116b3
push 2
jmp 0x4116b2
push 1
pop eax
mov dword [esi + 0x108], eax
cmp byte [ebp + 0xb], 0
je 0x41171a
cmp dword [ebp - 0x20], 1
ja 0x4116e2
push 0
push str.Cannot_find_archive_name
lea ecx, [ebp - 0x30]
call fcn.00421465
lea eax, [ebp - 0x30]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx + 4]
lea ecx, [esi + 0x4c]
mov dword [ebp - 0x18], 2
push dword [eax + 4]
call fcn.004031b1
cmp dword [esi + 0x50], 0
jne 0x41171a
push 0
push str.Archive_name_cannot_by_empty
lea ecx, [ebp - 0x30]
call fcn.00421465
lea eax, [ebp - 0x30]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x2c]
push dword [ebp - 0x1c]
mov byte [ebp - 0x38], 1
push ecx
lea ecx, [ebx + 4]
push dword [ebx + 0x10]
mov dword [ebp - 0x24], ecx
push ecx
mov cl, byte [ebp - 2]
neg cl
push eax
lea eax, [esi + 0x1dc]
sbb ecx, ecx
and ecx, eax
call fcn.00411f3e
mov eax, dword [ebx]
mov al, byte [eax + 0x4ec]
test al, al
mov byte [esi + 0x58], al
je 0x41176e
mov eax, dword [ebx]
lea ecx, [esi + 0x5c]
mov eax, dword [eax + 0x4f4]
push dword [eax]
call fcn.004031b1
mov eax, dword [ebx]
mov al, byte [eax + 0xdc]
mov byte [esi + 0xb], al
mov eax, dword [ebx]
cmp byte [eax + 0x104], 0
je 0x411797
mov eax, dword [eax + 0x10c]
lea ecx, [esi + 0x210]
push dword [eax]
call fcn.004031b1
mov eax, dword [ebx]
lea ecx, [esi + 0x21c]
add eax, 0x120
push eax
call fcn.0040530e
lea edx, [esi + 0x9c]
mov ecx, ebx
call fcn.00412d06
mov eax, dword [ebx]
cmp byte [eax + 0x424], 0
je 0x4117ca
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 1
lea edi, [esi + 0x12]
mov ecx, ebx
push edi
push 0x39
pop edx
mov dword [ebp - 0x28], edi
call fcn.00412ea6
lea eax, [esi + 0x14]
mov ecx, ebx
push eax
push 0x32
pop edx
call fcn.00412ea6
lea eax, [esi + 0x16]
mov ecx, ebx
push eax
push 0x34
pop edx
mov dword [ebp - 0x1c], eax
call fcn.00412ea6
lea eax, [esi + 0x18]
mov ecx, ebx
push eax
push 0x36
pop edx
call fcn.00412ea6
lea eax, [esi + 0x1a]
mov ecx, ebx
push eax
push 0x37
pop edx
call fcn.00412ea6
and byte [ebp - 0x14], 0
and byte [ebp - 0x13], 0
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push 0x33
pop edx
call fcn.00412ea6
cmp byte [ebp - 1], 0
je 0x411b5b
mov al, byte [esi + 0x38]
mov byte [esi + 0xaa], al
mov al, byte [esi + 0x39]
mov byte [esi + 0xab], al
mov ax, word [esi + 0x10]
mov word [esi + 0xc0], ax
mov cx, word [edi]
lea eax, [esi + 0xc8]
mov word [eax], cx
cmp byte [esi + 0x13], 0
jne 0x411868
mov byte [eax], 1
mov cx, word [esi + 0x14]
lea eax, [esi + 0xc6]
mov word [eax], cx
cmp byte [esi + 0x15], 0
jne 0x41187e
mov byte [eax], 1
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0xc2]
mov cx, word [ecx]
mov word [eax], cx
cmp byte [esi + 0x17], 0
jne 0x411896
mov byte [eax], 1
mov ax, word [ebp - 0x14]
mov word [esi + 0xc4], ax
mov eax, dword [ebx]
mov al, byte [eax + 0x488]
mov byte [esi + 0xca], al
mov eax, dword [ebx]
mov al, byte [eax + 0x49c]
mov byte [esi + 0xcb], al
mov al, byte [esi + 0x18]
mov byte [esi + 0xcc], al
mov eax, dword [ebx]
cmp byte [eax + 0x334], 0
je 0x4118d8
mov byte [esi + 0xce], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x4118ea
mov byte [esi + 0xcf], 1
mov eax, dword [ebx]
cmp byte [eax + 0x460], 0
je 0x411929
mov dword [esi + 0xb8], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x468]
mov edi, dword [eax]
cmp dword [edi + 4], 0
je 0x411929
mov eax, dword [edi]
push 0x47b184
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x411964
and dword [esi + 0xb8], eax
lea edi, [esi + 0x2c]
push 2
mov ecx, edi
call fcn.0040523a
mov ecx, edi
call fcn.004051ef
mov ecx, edi
call fcn.00411e58
test al, al
jne 0x4119c1
push 0
push str.Cannot_use_absolute_pathnames_for_this_command
lea ecx, [ebp - 0x44]
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [edi]
push 0x47b150
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x411984
mov dword [esi + 0xb8], 1
jmp 0x411929
mov eax, dword [edi]
push 0x47b1f0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x4119a4
mov dword [esi + 0xb8], 2
jmp 0x411929
push dword [edi]
lea ecx, [ebp - 0x44]
push str.Unsupported__snz:
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [ebp - 0x37]
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], al
mov al, byte [ebp - 0x36]
mov byte [ebp - 0x2a], al
mov eax, dword [ebx]
mov dword [ebp - 0x28], 2
lea edi, [esi + 0x74]
cmp byte [eax + 0x190], 0
je 0x4119fe
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
lea edx, [eax + 0x198]
mov byte [ebp - 0x2c], 1
push ecx
mov ecx, edi
call fcn.00412299
mov eax, dword [ebx]
cmp byte [eax + 0x1a4], 0
je 0x411a21
push dword [ebp - 0x10]
and byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
lea edx, [eax + 0x1ac]
push ecx
mov ecx, edi
call fcn.00412299
cmp byte [ebp + 0xb], 0
je 0x411a39
lea eax, [esi + 0x4c]
lea edx, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 0x2c], 1
call fcn.00411ef6
push 0
mov ecx, edi
call fcn.0040523a
mov ecx, edi
call fcn.004211f9
mov ecx, edi
call fcn.004051ef
cmp byte [esi + 6], 0
je 0x411a6b
mov eax, dword [ebx]
lea ecx, [esi + 0x90]
mov eax, dword [eax + 0x288]
push dword [eax]
call fcn.004031b1
cmp byte [ebp - 3], 0
je 0x411b20
cmp byte [esi + 7], 0
je 0x411ab4
mov eax, dword [esi + 0x230]
cmp eax, 1
je 0x411a96
cmp byte [esi + 4], 0
je 0x411ab4
cmp byte [esi + 5], 0
je 0x411ab4
test eax, eax
je 0x411ab4
push 0
lea ecx, [ebp - 0x44]
push dword [0x47acb4]
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x140], 0
je 0x411ae2
mov eax, dword [eax + 0x148]
lea edi, [esi + 0xd8]
mov ecx, edi
push dword [eax]
call fcn.004031b1
mov ecx, edi
call fcn.004086db
mov ecx, edi
call fcn.004086bb
and dword [esi + 0xb4], 0
mov ebx, dword [ebx]
cmp byte [ebx + 0xf0], 0
je 0x411b09
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax*4 + 0x47ac98]
mov dword [esi + 0xb4], eax
jmp 0x411b19
cmp byte [esi + 0xa], 0
je 0x411b20
mov dword [esi + 0xb4], 1
mov byte [esi + 0xad], 1
mov ecx, dword [ebp - 0xc]
call fcn.00410ed7
cmp dword [ebp - 8], 2
mov dword [esi + 0xb0], eax
jne 0x411b40
mov dword [esi + 0xb0], 3
jmp 0x411b4d
cmp dword [ebp - 8], 1
jne 0x411b54
and dword [esi + 0xb0], 0
mov byte [esi + 0xac], 1
pop edi
pop esi
pop ebx
leave
ret 4
mov edi, dword [ebp - 0xc]
mov ecx, edi
call fcn.00410ee9
test al, al
je 0x411d63
mov eax, dword [ebx]
cmp byte [eax + 0x190], 0
je 0x411b95
push 0
push str._ai_switch_is_not_supported_for_this_command
lea ecx, [ebp - 0x44]
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0xc]
lea edi, [esi + 0xf0]
push edi
mov edx, ebx
mov ecx, dword [eax]
call fcn.004127a6
lea eax, [esi + 0x9c]
lea ecx, [edi + 0x48]
push eax
call fcn.00412f71
mov eax, dword [ebx]
cmp byte [eax + 0x334], 0
je 0x411bc6
mov byte [edi + 2], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x411bd5
mov byte [edi + 3], 1
mov eax, dword [ebx]
cmp byte [eax + 0x35c], 0
je 0x411be4
mov byte [edi + 4], 1
mov eax, dword [ebp - 8]
mov dword [edi + 0x1c], eax
mov ax, word [esi + 0x12]
mov word [edi + 0xd], ax
mov ax, word [esi + 0x10]
mov word [edi + 0xb], ax
mov ax, word [esi + 0x14]
mov word [edi + 0xf], ax
mov ax, word [esi + 0x16]
mov word [edi + 0x11], ax
mov ax, word [esi + 0x18]
mov word [edi + 0x13], ax
mov ax, word [esi + 0x1a]
mov word [edi + 0x15], ax
mov eax, dword [ebx]
mov al, byte [eax + 0x230]
test al, al
mov byte [edi + 7], al
je 0x411c64
mov eax, dword [ebx]
lea ecx, [edi + 0xd4]
mov eax, dword [eax + 0x238]
push dword [eax]
call fcn.004031b1
cmp dword [edi + 0xd8], 0
jbe 0x411c64
mov eax, dword [edi + 0xd4]
cmp word [eax], 0x2e
jne 0x411c64
push 0
lea ecx, [edi + 0xd4]
mov byte [edi + 8], 1
call fcn.004037d9
mov al, byte [esi + 7]
mov byte [edi + 6], al
mov al, byte [esi + 6]
mov byte [edi + 5], al
mov eax, dword [ebx]
mov al, byte [eax + 0x4c4]
mov byte [edi + 9], al
mov eax, dword [ebx]
mov al, byte [eax + 0x4d8]
mov byte [edi + 0xa], al
mov al, byte [edi + 6]
test al, al
je 0x411d15
cmp byte [edi + 7], 0
je 0x411cb4
push 0
push str.stdout_mode_and_email_mode_cannot_be_combined
lea ecx, [ebp - 0x44]
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
test al, al
je 0x411d15
cmp byte [esi + 4], 0
je 0x411cdc
push 0
lea ecx, [ebp - 0x44]
push dword [0x47acb0]
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0x230], 1
je 0x411cf7
cmp dword [esi + 0x228], 1
je 0x411cf7
cmp dword [esi + 0x22c], 1
jne 0x411d15
push 0
lea ecx, [ebp - 0x44]
push dword [0x47acb4]
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp byte [edi + 5], 0
je 0x411d30
mov eax, dword [ebx]
lea ecx, [edi + 0xc8]
mov eax, dword [eax + 0x288]
push dword [eax]
call fcn.004031b1
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xa
jne 0x411b54
cmp dword [edi + 0x5c], 1
je 0x411b54
push 0
push str.Only_one_archive_can_be_created_with_rename_command
lea ecx, [ebp - 0x44]
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [edi]
cmp eax, 7
jne 0x411dcf
mov eax, dword [ebp - 0x18]
and byte [esi + 0x23c], 0
cmp eax, dword [ebp - 0x20]
lea edx, [esi + 0x238]
mov dword [edx], 1
jae 0x411b54
mov ebx, dword [ebp - 0x24]
mov edi, eax
shl edi, 2
mov eax, dword [ebx]
mov eax, dword [edi + eax]
mov ecx, dword [eax]
call fcn.0041132e
test al, al
jne 0x411dc3
mov eax, dword [ebx]
lea ecx, [ebp - 0x44]
mov eax, dword [edi + eax]
push dword [eax]
push str.Incorrect_number_of_benchmark_iterations
call fcn.00421465
lea eax, [ebp - 0x44]
push 0x482820
push eax
call sub.MSVCRT.dll__CxxThrowException
mov byte [esi + 0x23c], 1
jmp 0x411b54
cmp eax, 9
jne 0x411e3a
push dword [ebp - 8]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.0040523a
mov ecx, edi
call fcn.004051ef
mov eax, dword [ebp - 8]
lea edi, [esi + 0x1f8]
mov ecx, edi
mov dword [edi + 0x14], eax
lea eax, [esi + 0x68]
push eax
call fcn.0040530e
mov eax, dword [ebx]
cmp byte [eax + 0x334], 0
je 0x411e0e
mov byte [edi + 0xc], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x411e1d
mov byte [edi + 0xd], 1
mov al, byte [esi + 6]
mov byte [edi + 0xe], al
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
mov byte [edi + 0xf], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
mov word [edi + 0x10], ax
jmp 0x411b54
cmp eax, 8
je 0x411b54
lea eax, [ebp + 8]
push 0x481348
push eax
mov dword [ebp + 8], 0x1337a87
call sub.MSVCRT.dll__CxxThrowException