Function at 0x410980
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 0x4109b6
push 0
push str.The_command_must_be_specified
lea ecx, [ebp - 0x30]
call fcn.00420b73
lea eax, [ebp - 0x30]
push 0x459b28
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.00411470
test al, al
jne 0x4109ed
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
push dword [eax]
push str.Unsupported_command:
call fcn.00420b73
lea eax, [ebp - 0x30]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x244], 0
je 0x410a06
add eax, 0x24c
lea ecx, [esi + 0x68]
push eax
call fcn.00405077
mov eax, dword [ebx]
cmp byte [eax + 0x258], 0
je 0x410a24
mov eax, dword [eax + 0x260]
lea ecx, [esi + 0xe4]
push dword [eax]
call fcn.00402fcf
mov eax, dword [ebx]
cmp byte [eax + 0x26c], 0
je 0x410a65
mov eax, dword [eax + 0x274]
lea edx, [esi + 0xd0]
mov edi, dword [eax]
mov ecx, dword [edi]
call fcn.004124bd
test al, al
jne 0x410a65
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__smemx:
call fcn.00420b73
lea eax, [ebp - 0x30]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x3c0], 0
je 0x410a89
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 0x410ac8
mov eax, dword [eax + 0x3dc]
mov dword [ebp - 8], 2
mov edi, dword [eax]
cmp dword [edi + 4], 0
je 0x410ac8
mov eax, dword [edi]
push 0x454000
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x410b3a
mov dword [ebp - 8], 1
mov eax, dword [ebx]
cmp byte [eax + 0x4b0], 0
je 0x410ae2
cmp byte [eax + 0x4b1], 0
sete al
mov byte [0x4633d8], 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 0x410b0e
mov ecx, dword [eax + 0x1f8]
call fcn.0041145d
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
cmp byte [eax + 0x3ac], 0
je 0x410b1d
and byte [ebp - 0x37], 0
cmp byte [eax + 0x398], 0
je 0x410b6f
mov eax, dword [eax + 0x3a0]
mov edi, dword [eax]
cmp dword [edi + 4], 0
jne 0x410b57
mov byte [ebp - 0x36], 1
jmp 0x410b6f
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__spf:
call fcn.00420b73
lea eax, [ebp - 0x30]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [edi]
mov edx, 0x453b48
call fcn.004022c2
test al, al
je 0x410c0e
and byte [ebp - 0x36], 0
push 0xffffffffffffffff
push 1
pop edi
mov ecx, ebx
push edi
push 0x24
pop edx
call fcn.004123d0
push 0xfde9
push 0
push 0x23
mov ecx, ebx
pop edx
mov dword [esi + 0x28], eax
call fcn.004123d0
and byte [ebp - 0x1c], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
cmp byte [eax + 0x168], 0
je 0x410bc2
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.00411889
mov eax, dword [ebx]
cmp byte [eax + 0x17c], 0
je 0x410be6
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.00411889
mov eax, dword [ebx]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0xc]
cmp byte [eax + 0x1b8], 0
jne 0x410c44
mov eax, dword [edi]
cmp eax, 7
je 0x410c44
cmp eax, 8
je 0x410c44
cmp eax, 9
je 0x410c44
mov byte [ebp + 0xb], 1
jmp 0x410c48
mov ecx, dword [edi]
mov edx, 0x453fe8
call fcn.004022c2
test al, al
je 0x410c27
mov byte [ebp - 0x36], 2
jmp 0x410b6f
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__spm:
call fcn.00420b73
lea eax, [ebp - 0x30]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
and byte [ebp + 0xb], 0
mov ecx, edi
call fcn.004104a0
test al, al
mov byte [ebp - 3], al
jne 0x410c60
cmp dword [edi], 6
je 0x410c60
and byte [ebp - 1], al
jmp 0x410c64
mov byte [ebp - 1], 1
cmp dword [edi], 0xa
sete byte [ebp - 2]
cmp byte [ebp - 1], 0
jne 0x410c77
cmp byte [ebp - 2], 0
je 0x410c81
cmp byte [esi + 6], 0
je 0x410c81
and byte [ebp + 0xb], 0
mov eax, dword [ebx]
cmp byte [eax + 0x384], 0
je 0x410ca9
mov eax, dword [eax + 0x388]
dec eax
je 0x410ca0
dec eax
je 0x410c9c
xor eax, eax
jmp 0x410ca3
push 2
jmp 0x410ca2
push 1
pop eax
mov dword [esi + 0x108], eax
cmp byte [ebp + 0xb], 0
je 0x410d0a
cmp dword [ebp - 0x20], 1
ja 0x410cd2
push 0
push str.Cannot_find_archive_name
lea ecx, [ebp - 0x30]
call fcn.00420b73
lea eax, [ebp - 0x30]
push 0x459b28
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.00402fcf
cmp dword [esi + 0x50], 0
jne 0x410d0a
push 0
push str.Archive_name_cannot_by_empty
lea ecx, [ebp - 0x30]
call fcn.00420b73
lea eax, [ebp - 0x30]
push 0x459b28
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.0041152e
mov eax, dword [ebx]
mov al, byte [eax + 0x4ec]
test al, al
mov byte [esi + 0x58], al
je 0x410d5e
mov eax, dword [ebx]
lea ecx, [esi + 0x5c]
mov eax, dword [eax + 0x4f4]
push dword [eax]
call fcn.00402fcf
mov eax, dword [ebx]
mov al, byte [eax + 0xdc]
mov byte [esi + 0xb], al
mov eax, dword [ebx]
cmp byte [eax + 0x104], 0
je 0x410d87
mov eax, dword [eax + 0x10c]
lea ecx, [esi + 0x210]
push dword [eax]
call fcn.00402fcf
mov eax, dword [ebx]
lea ecx, [esi + 0x21c]
add eax, 0x120
push eax
call fcn.00405077
lea edx, [esi + 0x9c]
mov ecx, ebx
call fcn.004122f6
mov eax, dword [ebx]
cmp byte [eax + 0x424], 0
je 0x410dba
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.00412496
lea eax, [esi + 0x14]
mov ecx, ebx
push eax
push 0x32
pop edx
call fcn.00412496
lea eax, [esi + 0x16]
mov ecx, ebx
push eax
push 0x34
pop edx
mov dword [ebp - 0x1c], eax
call fcn.00412496
lea eax, [esi + 0x18]
mov ecx, ebx
push eax
push 0x36
pop edx
call fcn.00412496
lea eax, [esi + 0x1a]
mov ecx, ebx
push eax
push 0x37
pop edx
call fcn.00412496
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.00412496
cmp byte [ebp - 1], 0
je 0x41114b
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 0x410e58
mov byte [eax], 1
mov cx, word [esi + 0x14]
lea eax, [esi + 0xc6]
mov word [eax], cx
cmp byte [esi + 0x15], 0
jne 0x410e6e
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 0x410e86
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 0x410ec8
mov byte [esi + 0xce], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x410eda
mov byte [esi + 0xcf], 1
mov eax, dword [ebx]
cmp byte [eax + 0x460], 0
je 0x410f19
mov dword [esi + 0xb8], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x468]
mov edi, dword [eax]
cmp dword [edi + 4], 0
je 0x410f19
mov eax, dword [edi]
push 0x453f94
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x410f54
and dword [esi + 0xb8], eax
lea edi, [esi + 0x2c]
push 2
mov ecx, edi
call fcn.00404fa3
mov ecx, edi
call fcn.00404f58
mov ecx, edi
call fcn.00411448
test al, al
jne 0x410fb1
push 0
push str.Cannot_use_absolute_pathnames_for_this_command
lea ecx, [ebp - 0x44]
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [edi]
push 0x453f60
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x410f74
mov dword [esi + 0xb8], 1
jmp 0x410f19
mov eax, dword [edi]
push 0x454000
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x410f94
mov dword [esi + 0xb8], 2
jmp 0x410f19
push dword [edi]
lea ecx, [ebp - 0x44]
push str.Unsupported__snz:
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
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 0x410fee
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
lea edx, [eax + 0x198]
mov byte [ebp - 0x2c], 1
push ecx
mov ecx, edi
call fcn.00411889
mov eax, dword [ebx]
cmp byte [eax + 0x1a4], 0
je 0x411011
push dword [ebp - 0x10]
and byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
lea edx, [eax + 0x1ac]
push ecx
mov ecx, edi
call fcn.00411889
cmp byte [ebp + 0xb], 0
je 0x411029
lea eax, [esi + 0x4c]
lea edx, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 0x2c], 1
call fcn.004114e6
push 0
mov ecx, edi
call fcn.00404fa3
mov ecx, edi
call fcn.00420907
mov ecx, edi
call fcn.00404f58
cmp byte [esi + 6], 0
je 0x41105b
mov eax, dword [ebx]
lea ecx, [esi + 0x90]
mov eax, dword [eax + 0x288]
push dword [eax]
call fcn.00402fcf
cmp byte [ebp - 3], 0
je 0x411110
cmp byte [esi + 7], 0
je 0x4110a4
mov eax, dword [esi + 0x230]
cmp eax, 1
je 0x411086
cmp byte [esi + 4], 0
je 0x4110a4
cmp byte [esi + 5], 0
je 0x4110a4
test eax, eax
je 0x4110a4
push 0
lea ecx, [ebp - 0x44]
push dword [0x453ac4]
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x140], 0
je 0x4110d2
mov eax, dword [eax + 0x148]
lea edi, [esi + 0xd8]
mov ecx, edi
push dword [eax]
call fcn.00402fcf
mov ecx, edi
call fcn.0040850d
mov ecx, edi
call fcn.004084ed
and dword [esi + 0xb4], 0
mov ebx, dword [ebx]
cmp byte [ebx + 0xf0], 0
je 0x4110f9
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax*4 + 0x453aa8]
mov dword [esi + 0xb4], eax
jmp 0x411109
cmp byte [esi + 0xa], 0
je 0x411110
mov dword [esi + 0xb4], 1
mov byte [esi + 0xad], 1
mov ecx, dword [ebp - 0xc]
call fcn.004104b2
cmp dword [ebp - 8], 2
mov dword [esi + 0xb0], eax
jne 0x411130
mov dword [esi + 0xb0], 3
jmp 0x41113d
cmp dword [ebp - 8], 1
jne 0x411144
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.004104c4
test al, al
je 0x411353
mov eax, dword [ebx]
cmp byte [eax + 0x190], 0
je 0x411185
push 0
push str._ai_switch_is_not_supported_for_this_command
lea ecx, [ebp - 0x44]
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
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.00411d96
lea eax, [esi + 0x9c]
lea ecx, [edi + 0x48]
push eax
call fcn.00412561
mov eax, dword [ebx]
cmp byte [eax + 0x334], 0
je 0x4111b6
mov byte [edi + 2], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x4111c5
mov byte [edi + 3], 1
mov eax, dword [ebx]
cmp byte [eax + 0x35c], 0
je 0x4111d4
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 0x411254
mov eax, dword [ebx]
lea ecx, [edi + 0xd4]
mov eax, dword [eax + 0x238]
push dword [eax]
call fcn.00402fcf
cmp dword [edi + 0xd8], 0
jbe 0x411254
mov eax, dword [edi + 0xd4]
cmp word [eax], 0x2e
jne 0x411254
push 0
lea ecx, [edi + 0xd4]
mov byte [edi + 8], 1
call fcn.00403635
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 0x411305
cmp byte [edi + 7], 0
je 0x4112a4
push 0
push str.stdout_mode_and_email_mode_cannot_be_combined
lea ecx, [ebp - 0x44]
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
test al, al
je 0x411305
cmp byte [esi + 4], 0
je 0x4112cc
push 0
lea ecx, [ebp - 0x44]
push dword [0x453ac0]
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0x230], 1
je 0x4112e7
cmp dword [esi + 0x228], 1
je 0x4112e7
cmp dword [esi + 0x22c], 1
jne 0x411305
push 0
lea ecx, [ebp - 0x44]
push dword [0x453ac4]
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp byte [edi + 5], 0
je 0x411320
mov eax, dword [ebx]
lea ecx, [edi + 0xc8]
mov eax, dword [eax + 0x288]
push dword [eax]
call fcn.00402fcf
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xa
jne 0x411144
cmp dword [edi + 0x5c], 1
je 0x411144
push 0
push str.Only_one_archive_can_be_created_with_rename_command
lea ecx, [ebp - 0x44]
call fcn.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [edi]
cmp eax, 7
jne 0x4113bf
mov eax, dword [ebp - 0x18]
and byte [esi + 0x23c], 0
cmp eax, dword [ebp - 0x20]
lea edx, [esi + 0x238]
mov dword [edx], 1
jae 0x411144
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.0041091e
test al, al
jne 0x4113b3
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.00420b73
lea eax, [ebp - 0x44]
push 0x459b28
push eax
call sub.MSVCRT.dll__CxxThrowException
mov byte [esi + 0x23c], 1
jmp 0x411144
cmp eax, 9
jne 0x41142a
push dword [ebp - 8]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.00404fa3
mov ecx, edi
call fcn.00404f58
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.00405077
mov eax, dword [ebx]
cmp byte [eax + 0x334], 0
je 0x4113fe
mov byte [edi + 0xc], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x41140d
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 0x411144
cmp eax, 8
je 0x411144
lea eax, [ebp + 8]
push 0x458678
push eax
mov dword [ebp + 8], 0x1337a87
call sub.MSVCRT.dll__CxxThrowException