Function at 0x4124d3
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 0x412509
push 0
push str.The_command_must_be_specified
lea ecx, [ebp - 0x30]
call fcn.00422421
lea eax, [ebp - 0x30]
push 0x4bba70
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.00412fc3
test al, al
jne 0x412540
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
push dword [eax]
push str.Unsupported_command:
call fcn.00422421
lea eax, [ebp - 0x30]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x244], 0
je 0x412559
add eax, 0x24c
lea ecx, [esi + 0x68]
push eax
call fcn.004052fe
mov eax, dword [ebx]
cmp byte [eax + 0x258], 0
je 0x412577
mov eax, dword [eax + 0x260]
lea ecx, [esi + 0xe4]
push dword [eax]
call fcn.004031db
mov eax, dword [ebx]
cmp byte [eax + 0x26c], 0
je 0x4125b8
mov eax, dword [eax + 0x274]
lea edx, [esi + 0xd0]
mov edi, dword [eax]
mov ecx, dword [edi]
call fcn.00414010
test al, al
jne 0x4125b8
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__smemx:
call fcn.00422421
lea eax, [ebp - 0x30]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x3c0], 0
je 0x4125dc
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 0x41261b
mov eax, dword [eax + 0x3dc]
mov dword [ebp - 8], 2
mov edi, dword [eax]
cmp dword [edi + 4], 0
je 0x41261b
mov eax, dword [edi]
push 0x4b2278
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x41268d
mov dword [ebp - 8], 1
mov eax, dword [ebx]
cmp byte [eax + 0x4b0], 0
je 0x412635
cmp byte [eax + 0x4b1], 0
sete al
mov byte [0x4c84f8], 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 0x412661
mov ecx, dword [eax + 0x1f8]
call fcn.00412fb0
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
cmp byte [eax + 0x3ac], 0
je 0x412670
and byte [ebp - 0x37], 0
cmp byte [eax + 0x398], 0
je 0x4126c2
mov eax, dword [eax + 0x3a0]
mov edi, dword [eax]
cmp dword [edi + 4], 0
jne 0x4126aa
mov byte [ebp - 0x36], 1
jmp 0x4126c2
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__spf:
call fcn.00422421
lea eax, [ebp - 0x30]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [edi]
mov edx, 0x4b1dc0
call fcn.004024fe
test al, al
je 0x412761
and byte [ebp - 0x36], 0
push 0xffffffffffffffff
push 1
pop edi
mov ecx, ebx
push edi
push 0x24
pop edx
call fcn.00413f23
push 0xfde9
push 0
push 0x23
mov ecx, ebx
pop edx
mov dword [esi + 0x28], eax
call fcn.00413f23
and byte [ebp - 0x1c], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
cmp byte [eax + 0x168], 0
je 0x412715
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.004133dc
mov eax, dword [ebx]
cmp byte [eax + 0x17c], 0
je 0x412739
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.004133dc
mov eax, dword [ebx]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0xc]
cmp byte [eax + 0x1b8], 0
jne 0x412797
mov eax, dword [edi]
cmp eax, 7
je 0x412797
cmp eax, 8
je 0x412797
cmp eax, 9
je 0x412797
mov byte [ebp + 0xb], 1
jmp 0x41279b
mov ecx, dword [edi]
mov edx, 0x4b2260
call fcn.004024fe
test al, al
je 0x41277a
mov byte [ebp - 0x36], 2
jmp 0x4126c2
push dword [edi]
lea ecx, [ebp - 0x30]
push str.Unsupported__spm:
call fcn.00422421
lea eax, [ebp - 0x30]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
and byte [ebp + 0xb], 0
mov ecx, edi
call fcn.00411ff3
test al, al
mov byte [ebp - 3], al
jne 0x4127b3
cmp dword [edi], 6
je 0x4127b3
and byte [ebp - 1], al
jmp 0x4127b7
mov byte [ebp - 1], 1
cmp dword [edi], 0xa
sete byte [ebp - 2]
cmp byte [ebp - 1], 0
jne 0x4127ca
cmp byte [ebp - 2], 0
je 0x4127d4
cmp byte [esi + 6], 0
je 0x4127d4
and byte [ebp + 0xb], 0
mov eax, dword [ebx]
cmp byte [eax + 0x384], 0
je 0x4127fc
mov eax, dword [eax + 0x388]
dec eax
je 0x4127f3
dec eax
je 0x4127ef
xor eax, eax
jmp 0x4127f6
push 2
jmp 0x4127f5
push 1
pop eax
mov dword [esi + 0x108], eax
cmp byte [ebp + 0xb], 0
je 0x41285d
cmp dword [ebp - 0x20], 1
ja 0x412825
push 0
push str.Cannot_find_archive_name
lea ecx, [ebp - 0x30]
call fcn.00422421
lea eax, [ebp - 0x30]
push 0x4bba70
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.004031db
cmp dword [esi + 0x50], 0
jne 0x41285d
push 0
push str.Archive_name_cannot_by_empty
lea ecx, [ebp - 0x30]
call fcn.00422421
lea eax, [ebp - 0x30]
push 0x4bba70
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.00413081
mov eax, dword [ebx]
mov al, byte [eax + 0x4ec]
test al, al
mov byte [esi + 0x58], al
je 0x4128b1
mov eax, dword [ebx]
lea ecx, [esi + 0x5c]
mov eax, dword [eax + 0x4f4]
push dword [eax]
call fcn.004031db
mov eax, dword [ebx]
mov al, byte [eax + 0xdc]
mov byte [esi + 0xb], al
mov eax, dword [ebx]
cmp byte [eax + 0x104], 0
je 0x4128da
mov eax, dword [eax + 0x10c]
lea ecx, [esi + 0x210]
push dword [eax]
call fcn.004031db
mov eax, dword [ebx]
lea ecx, [esi + 0x21c]
add eax, 0x120
push eax
call fcn.004052fe
lea edx, [esi + 0x9c]
mov ecx, ebx
call fcn.00413e49
mov eax, dword [ebx]
cmp byte [eax + 0x424], 0
je 0x41290d
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.00413fe9
lea eax, [esi + 0x14]
mov ecx, ebx
push eax
push 0x32
pop edx
call fcn.00413fe9
lea eax, [esi + 0x16]
mov ecx, ebx
push eax
push 0x34
pop edx
mov dword [ebp - 0x1c], eax
call fcn.00413fe9
lea eax, [esi + 0x18]
mov ecx, ebx
push eax
push 0x36
pop edx
call fcn.00413fe9
lea eax, [esi + 0x1a]
mov ecx, ebx
push eax
push 0x37
pop edx
call fcn.00413fe9
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.00413fe9
cmp byte [ebp - 1], 0
je 0x412c9e
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 0x4129ab
mov byte [eax], 1
mov cx, word [esi + 0x14]
lea eax, [esi + 0xc6]
mov word [eax], cx
cmp byte [esi + 0x15], 0
jne 0x4129c1
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 0x4129d9
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 0x412a1b
mov byte [esi + 0xce], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x412a2d
mov byte [esi + 0xcf], 1
mov eax, dword [ebx]
cmp byte [eax + 0x460], 0
je 0x412a6c
mov dword [esi + 0xb8], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x468]
mov edi, dword [eax]
cmp dword [edi + 4], 0
je 0x412a6c
mov eax, dword [edi]
push 0x4b220c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x412aa7
and dword [esi + 0xb8], eax
lea edi, [esi + 0x2c]
push 2
mov ecx, edi
call fcn.0040522a
mov ecx, edi
call fcn.004051df
mov ecx, edi
call fcn.00412f9b
test al, al
jne 0x412b04
push 0
push str.Cannot_use_absolute_pathnames_for_this_command
lea ecx, [ebp - 0x44]
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [edi]
push 0x4b21d8
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x412ac7
mov dword [esi + 0xb8], 1
jmp 0x412a6c
mov eax, dword [edi]
push 0x4b2278
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x412ae7
mov dword [esi + 0xb8], 2
jmp 0x412a6c
push dword [edi]
lea ecx, [ebp - 0x44]
push str.Unsupported__snz:
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
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 0x412b41
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
lea edx, [eax + 0x198]
mov byte [ebp - 0x2c], 1
push ecx
mov ecx, edi
call fcn.004133dc
mov eax, dword [ebx]
cmp byte [eax + 0x1a4], 0
je 0x412b64
push dword [ebp - 0x10]
and byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
lea edx, [eax + 0x1ac]
push ecx
mov ecx, edi
call fcn.004133dc
cmp byte [ebp + 0xb], 0
je 0x412b7c
lea eax, [esi + 0x4c]
lea edx, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 0x2c], 1
call fcn.00413039
push 0
mov ecx, edi
call fcn.0040522a
mov ecx, edi
call fcn.004221b5
mov ecx, edi
call fcn.004051df
cmp byte [esi + 6], 0
je 0x412bae
mov eax, dword [ebx]
lea ecx, [esi + 0x90]
mov eax, dword [eax + 0x288]
push dword [eax]
call fcn.004031db
cmp byte [ebp - 3], 0
je 0x412c63
cmp byte [esi + 7], 0
je 0x412bf7
mov eax, dword [esi + 0x230]
cmp eax, 1
je 0x412bd9
cmp byte [esi + 4], 0
je 0x412bf7
cmp byte [esi + 5], 0
je 0x412bf7
test eax, eax
je 0x412bf7
push 0
lea ecx, [ebp - 0x44]
push dword [0x4b1d3c]
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebx]
cmp byte [eax + 0x140], 0
je 0x412c25
mov eax, dword [eax + 0x148]
lea edi, [esi + 0xd8]
mov ecx, edi
push dword [eax]
call fcn.004031db
mov ecx, edi
call fcn.004089e0
mov ecx, edi
call fcn.004089c0
and dword [esi + 0xb4], 0
mov ebx, dword [ebx]
cmp byte [ebx + 0xf0], 0
je 0x412c4c
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax*4 + 0x4b1d20]
mov dword [esi + 0xb4], eax
jmp 0x412c5c
cmp byte [esi + 0xa], 0
je 0x412c63
mov dword [esi + 0xb4], 1
mov byte [esi + 0xad], 1
mov ecx, dword [ebp - 0xc]
call fcn.00412005
cmp dword [ebp - 8], 2
mov dword [esi + 0xb0], eax
jne 0x412c83
mov dword [esi + 0xb0], 3
jmp 0x412c90
cmp dword [ebp - 8], 1
jne 0x412c97
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.00412017
test al, al
je 0x412ea6
mov eax, dword [ebx]
cmp byte [eax + 0x190], 0
je 0x412cd8
push 0
push str._ai_switch_is_not_supported_for_this_command
lea ecx, [ebp - 0x44]
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
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.004138e9
lea eax, [esi + 0x9c]
lea ecx, [edi + 0x48]
push eax
call fcn.004140b4
mov eax, dword [ebx]
cmp byte [eax + 0x334], 0
je 0x412d09
mov byte [edi + 2], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x412d18
mov byte [edi + 3], 1
mov eax, dword [ebx]
cmp byte [eax + 0x35c], 0
je 0x412d27
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 0x412da7
mov eax, dword [ebx]
lea ecx, [edi + 0xd4]
mov eax, dword [eax + 0x238]
push dword [eax]
call fcn.004031db
cmp dword [edi + 0xd8], 0
jbe 0x412da7
mov eax, dword [edi + 0xd4]
cmp word [eax], 0x2e
jne 0x412da7
push 0
lea ecx, [edi + 0xd4]
mov byte [edi + 8], 1
call fcn.00403803
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 0x412e58
cmp byte [edi + 7], 0
je 0x412df7
push 0
push str.stdout_mode_and_email_mode_cannot_be_combined
lea ecx, [ebp - 0x44]
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
test al, al
je 0x412e58
cmp byte [esi + 4], 0
je 0x412e1f
push 0
lea ecx, [ebp - 0x44]
push dword [0x4b1d38]
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0x230], 1
je 0x412e3a
cmp dword [esi + 0x228], 1
je 0x412e3a
cmp dword [esi + 0x22c], 1
jne 0x412e58
push 0
lea ecx, [ebp - 0x44]
push dword [0x4b1d3c]
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp byte [edi + 5], 0
je 0x412e73
mov eax, dword [ebx]
lea ecx, [edi + 0xc8]
mov eax, dword [eax + 0x288]
push dword [eax]
call fcn.004031db
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xa
jne 0x412c97
cmp dword [edi + 0x5c], 1
je 0x412c97
push 0
push str.Only_one_archive_can_be_created_with_rename_command
lea ecx, [ebp - 0x44]
call fcn.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [edi]
cmp eax, 7
jne 0x412f12
mov eax, dword [ebp - 0x18]
and byte [esi + 0x23c], 0
cmp eax, dword [ebp - 0x20]
lea edx, [esi + 0x238]
mov dword [edx], 1
jae 0x412c97
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.00412471
test al, al
jne 0x412f06
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.00422421
lea eax, [ebp - 0x44]
push 0x4bba70
push eax
call sub.MSVCRT.dll__CxxThrowException
mov byte [esi + 0x23c], 1
jmp 0x412c97
cmp eax, 9
jne 0x412f7d
push dword [ebp - 8]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.0040522a
mov ecx, edi
call fcn.004051df
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.004052fe
mov eax, dword [ebx]
cmp byte [eax + 0x334], 0
je 0x412f51
mov byte [edi + 0xc], 1
mov eax, dword [ebx]
cmp byte [eax + 0x348], 0
je 0x412f60
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 0x412c97
cmp eax, 8
je 0x412c97
lea eax, [ebp + 8]
push 0x4ba458
push eax
mov dword [ebp + 8], 0x1337a87
call sub.MSVCRT.dll__CxxThrowException