Function at 0x416cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430e10
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x443004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14c], eax
xor eax, eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x150], eax
lea eax, [esi - 1]
mov dword [ebp - 0x13c], eax
lea eax, [edx + 4]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x14], eax
lea ebx, [eax + 1]
mov dword [ebp - 4], edi
cmp esi, ebx
jle 0x416f11
mov eax, dword [edx + ebx*4]
mov al, byte [eax]
cmp al, 0x2d
je 0x416f08
cmp al, 0x2f
je 0x416f08
push 0xb0
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0041c310
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.00415db0
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], 0
mov edx, dword [eax + ebx*4]
mov byte [ebp - 0x1bc], 0
cmp byte [edx], 0
jne 0x416dba
xor ecx, ecx
jmp 0x416dc9
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416dc0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1bc]
call fcn.00409270
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x11c]
call fcn.00409370
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1a8]
cmp eax, 0x10
jb 0x416e0c
inc eax
push eax
push dword [ebp - 0x1bc]
call fcn.00401970
lea eax, [ebp - 0x11c]
cmp eax, edi
jae 0x416e62
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
ja 0x416e62
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebp - 0x130]
jne 0x416e4f
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00408df0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x130], eax
imul eax, esi, 0xb0
add eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test edi, edi
je 0x416e95
jmp 0x416e8d
cmp edi, dword [ebp - 0x130]
jne 0x416e7f
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00408df0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 4
test edi, edi
je 0x416e95
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.00401fa0
add edi, 0xb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], edi
cmp eax, 0x10
jb 0x416eb7
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.00401970
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
cmp eax, 0x10
jb 0x416ee4
inc eax
push eax
push dword [ebp - 0x11c]
call fcn.00401970
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x108], 0xf
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x11c], 0
inc ebx
cmp ebx, esi
jl 0x416d53
mov ecx, 1
cmp esi, ecx
jle 0x416f4e
lea ebx, [ebx]
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x416f49
mov dl, byte [eax]
cmp dl, 0x2d
je 0x416f33
cmp dl, 0x2f
jne 0x416f43
cmp byte [eax + 1], 0x62
jne 0x416f43
cmp byte [eax + 2], 0
jne 0x41700d
mov edx, dword [ebp - 0x128]
inc ecx
cmp ecx, esi
jl 0x416f20
push 0x38
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0041c310
xor eax, eax
mov dword [ebp - 0x48], 0xa
xor ebx, ebx
mov dword [ebp - 0x134], eax
xor esi, esi
mov dword [ebp - 0x54], ebx
add esp, 0xc
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], al
mov dword [ebp - 0x20], 0x3e8
mov byte [ebp - 4], 5
mov byte [ebp - 0x11e], al
cmp dword [ebp - 0x13c], esi
je 0x417b9b
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax]
mov ecx, dword [sym.imp.KERNEL32.dll_CreateEventA]
mov byte [ebp - 0x11d], 0
mov al, byte [ebx]
cmp al, 0x2d
je 0x416fde
cmp al, 0x2f
jne 0x417b02
mov al, byte [ebx + 1]
inc ebx
mov dword [ebp - 0x134], ebx
test al, al
je 0x417c7d
movsx eax, al
add eax, 0xffffffc1
cmp eax, 0x3b
ja case.0x417006.64
movzx eax, byte [eax + 0x417e08]
jmp dword [eax*4 + 0x417d74]
mov ebx, dword [ebp - 0x124]
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp - 0x128]
mov dword [ebx], 0
mov eax, dword [eax + ecx*4]
mov ecx, ebx
add eax, 2
push eax
call fcn.004160d0
test al, al
je 0x417058
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x160]
cmp eax, edi
je 0x417051
mov dword [eax + 0x18], ecx
add eax, 0xb0
cmp eax, edi
jne 0x417045
mov dword [ebx], ecx
jmp 0x416f4e
push str.Invalid_block_size_passed_to__b_n
push 2
call fcn.0041d090
add esp, 4
push eax
call fcn.00401090
add esp, 8
push 1
call fcn.0042265e
push 0xa
lea eax, [ebx + 1]
push 0
push eax
call fcn.00422a02
add esp, 0xc
mov dword [0x4443bc], eax
jmp case.0x417006.98
lea eax, [ebp - 0x54]
push eax
push ebx
call fcn.00416b00
test al, al
jne case.0x417006.98
mov eax, dword [ebp - 0x134]
push eax
push str.Incorrectly_provided_option:__s_n
jmp 0x4177d7
cmp byte [ebx + 1], 0
lea eax, [ebx + 1]
je 0x4170a3
lea ecx, [ebp - 0x168]
push ecx
mov ecx, dword [ebp - 0x124]
push eax
call fcn.004160d0
test al, al
je 0x417b21
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x168]
nop
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ecx
add eax, 0xb0
cmp eax, edi
jne 0x4170f0
jmp case.0x417006.98
cmp byte [ebx + 1], 0
lea eax, [ebx + 1]
je 0x4170a3
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x124]
push eax
call fcn.004160d0
test al, al
je 0x417b4a
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je case.0x417006.98
mov edx, dword [ebp - 0x16c]
lea ecx, [esi + 0x50]
mov esi, dword [ebp - 0x170]
jmp 0x417150
mov dword [ecx + 8], esi
lea ecx, [ecx + 0xb0]
mov dword [ecx - 0xa4], edx
lea eax, [ecx - 0x50]
mov byte [ecx - 0xb0], 1
cmp eax, edi
jne 0x417150
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
add esp, 4
test eax, eax
js 0x4170a3
mov dword [ebp - 0x40], eax
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
add esp, 4
test eax, eax
jle 0x4170a3
mov dword [ebp - 0x48], eax
jmp case.0x417006.98
lea eax, [ebx + 1]
mov byte [ebp - 0x22], 1
push eax
call fcn.00421b5c
add esp, 4
test eax, eax
jle case.0x417006.98
mov dword [ebp - 0x20], eax
jmp case.0x417006.98
push dword [ebp - 0x138]
push ebx
call fcn.00416850
test al, al
je 0x4170a3
jmp case.0x417006.98
mov al, byte [ebx + 1]
lea ecx, [ebx + 1]
cmp al, 0x72
jne 0x417215
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
jmp 0x417200
mov byte [eax + 0x81], 1
add eax, 0xb0
cmp eax, edi
jne 0x417200
jmp case.0x417006.98
cmp al, 0x73
jne 0x417245
mov edx, dword [ebp - 0x1c]
mov eax, edx
cmp edx, edi
je case.0x417006.98
jmp 0x417230
mov byte [eax + 0x80], 1
add eax, 0xb0
cmp eax, edi
jne 0x417230
jmp case.0x417006.98
test al, al
je 0x4170a3
lea eax, [ebp - 0x178]
push eax
push ecx
mov ecx, dword [ebp - 0x124]
call fcn.004160d0
test al, al
je 0x417b51
mov edx, dword [ebp - 0x1c]
mov eax, edx
cmp edx, edi
je case.0x417006.98
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x178]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], ecx
add eax, 0xb0
cmp eax, edi
jne 0x417281
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
add esp, 4
test eax, eax
jle 0x4170a3
mov dword [ebp - 0x38], eax
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
mov ecx, eax
add esp, 4
test ecx, ecx
jle 0x4170a3
mov edx, dword [ebp - 0x1c]
mov eax, edx
cmp edx, edi
je case.0x417006.98
mov dword [eax + 0x7c], ecx
add eax, 0xb0
cmp eax, edi
jne 0x4172d4
jmp case.0x417006.98
mov edx, dword [ebp - 0x1c]
mov eax, edx
cmp edx, edi
je case.0x417006.98
mov byte [eax + 0x3b], 1
add eax, 0xb0
cmp eax, edi
jne 0x4172f2
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
mov edx, eax
add esp, 4
test edx, edx
jle 0x4170a3
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je case.0x417006.98
lea ecx, [esi + 0x6c]
jmp 0x417330
mov dword [ecx + 4], edx
lea ecx, [ecx + 0xb0]
mov byte [ecx - 0xb0], 1
lea eax, [ecx - 0x6c]
cmp eax, edi
jne 0x417330
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
mov edx, eax
add esp, 4
test edx, edx
jle 0x4170a3
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je case.0x417006.98
lea ecx, [esi + 0x78]
mov dword [ecx - 4], edx
lea ecx, [ecx + 0xb0]
mov byte [ecx - 0xb0], 1
lea eax, [ecx - 0x78]
cmp eax, edi
jne 0x417370
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
add esp, 4
lea ebx, [eax - 1]
cmp ebx, 2
ja 0x4170a3
mov edx, dword [ebp - 0x1c]
mov esi, edx
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x184], 2
cmp edx, edi
je case.0x417006.98
mov ebx, dword [ebp + ebx*4 - 0x18c]
cmp ebx, 3
jl 0x4173f2
push 0x1de
push str.C:Users_adminDesktopdiskspd2015CommonCommon.h
push str._hint___MaximumIoPriorityHintType
call fcn.0042231d
add esp, 0xc
mov dword [esi + 0xac], ebx
add esi, 0xb0
cmp esi, edi
jne 0x4173d6
jmp case.0x417006.98
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
mov byte [eax + 0x82], 1
add eax, 0xb0
cmp eax, edi
jne 0x417412
jmp case.0x417006.98
mov byte [ebp - 0x23], 1
jmp case.0x417006.98
mov byte [ebp - 0x33], 1
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
mov ecx, eax
add esp, 4
test ecx, ecx
jle 0x4170a3
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
lea ebx, [ebx]
mov dword [eax + 0x1c], ecx
add eax, 0xb0
cmp eax, edi
jne 0x417460
jmp case.0x417006.98
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
lea esp, [esp]
mov byte [eax + 0x38], 1
add eax, 0xb0
cmp eax, edi
jne 0x417480
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
add esp, 4
cmp eax, 1
jge 0x4174a8
mov eax, 0x10000
mov ecx, dword [ebp - 0x138]
mov dword [ecx + 0x10], eax
jmp case.0x417006.98
mov ecx, dword [ebp - 0x124]
lea eax, [ebx + 1]
xor esi, esi
cmp byte [eax], 0
mov dword [ebp - 0x154], esi
mov edx, dword [ecx]
mov dword [ebp - 0x158], edx
je 0x4174ff
lea edx, [ebp - 0x158]
push edx
push eax
call fcn.004160d0
test al, al
je 0x417b58
mov edx, dword [ebp - 0x158]
mov eax, edx
mov esi, dword [ebp - 0x154]
or eax, esi
je 0x417b58
mov ebx, dword [ebp - 0x1c]
cmp ebx, edi
je case.0x417006.98
lea ecx, [ebx + 0x20]
lea ecx, [ecx]
mov word [ecx + 8], 0x101
lea ecx, [ecx + 0xb0]
mov dword [ecx - 0xb0], edx
lea eax, [ecx - 0x20]
mov dword [ecx - 0xac], esi
cmp eax, edi
jne 0x417510
jmp case.0x417006.98
inc ebx
cmp byte [ebx], 0
je 0x4170a3
mov ecx, 0x43f154
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417565
test dl, dl
je 0x417561
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417565
add eax, 2
add ecx, 2
test dl, dl
jne 0x417545
xor eax, eax
jmp 0x41756a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x417580
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x2c], 1
jmp case.0x417006.98
mov ecx, str.text
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4175a7
test dl, dl
je 0x4175a3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4175a7
add eax, 2
add ecx, 2
test dl, dl
jne 0x417587
xor eax, eax
jmp 0x4175ac
sbb eax, eax
or eax, 1
test eax, eax
je case.0x417006.98
push ebx
push str.Invalid_results_format:__s._n
push 2
call fcn.0041d090
add esp, 4
push eax
call fcn.00401090
mov eax, dword [ebp - 0x134]
add esp, 0xc
push eax
push str.Incorrectly_provided_option:__s_n
jmp 0x4177d7
cmp byte [ebx + 1], 0x69
mov eax, 1
mov esi, dword [ebp - 0x1c]
jne 0x417604
mov eax, esi
cmp esi, edi
je 0x4175ff
mov byte [eax + 0x39], 1
add eax, 0xb0
cmp eax, edi
jne 0x4175f2
mov eax, 2
add eax, ebx
cmp byte [eax], 0
je case.0x417006.98
lea ecx, [ebp - 0x180]
push ecx
mov ecx, dword [ebp - 0x124]
push eax
call fcn.004160d0
test al, al
je 0x417b5f
cmp esi, edi
je case.0x417006.98
mov edx, dword [ebp - 0x17c]
lea ecx, [esi + 0x28]
mov esi, dword [ebp - 0x180]
mov dword [ecx - 8], esi
lea ecx, [ecx + 0xb0]
mov dword [ecx - 0xb4], edx
lea eax, [ecx - 0x28]
mov byte [ecx - 0xb0], 1
cmp eax, edi
jne 0x417641
jmp case.0x417006.98
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
mov edi, edi
mov byte [eax + 0x3a], 1
add eax, 0xb0
cmp eax, edi
jne 0x417670
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
mov ecx, eax
add esp, 4
test ecx, ecx
jle 0x4170a3
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
mov dword [eax + 0x40], ecx
add eax, 0xb0
cmp eax, edi
jne 0x4176a3
jmp case.0x417006.98
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x160]
push eax
lea eax, [ebx + 1]
push eax
call fcn.004160d0
test al, al
je 0x417b66
mov edx, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
test edx, edx
jne 0x4176ea
test ecx, ecx
je 0x417b66
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], edx
add eax, 0xb0
cmp eax, edi
jne 0x4176f5
jmp case.0x417006.98
mov eax, dword [ebp - 0x138]
mov byte [eax + 0xc], 1
jmp case.0x417006.98
cmp byte [ebx + 1], 0
lea eax, [ebx + 1]
jne 0x41772c
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
jmp 0x417748
push eax
call fcn.00421b5c
mov ecx, eax
add esp, 4
test ecx, ecx
js 0x4170a3
cmp ecx, 0x64
jg 0x4170a3
cmp ecx, 0xffffffff
je case.0x417006.98
mov edx, dword [ebp - 0x1c]
mov eax, edx
cmp edx, edi
je case.0x417006.98
mov edi, edi
mov dword [eax + 0x68], ecx
add eax, 0xb0
cmp eax, edi
jne 0x417760
jmp case.0x417006.98
lea eax, [ebx + 1]
push eax
call fcn.00421b5c
add esp, 4
test eax, eax
js 0x4170a3
mov dword [ebp - 0x44], eax
jmp case.0x417006.98
mov byte [ebp - 0x24], 1
jmp case.0x417006.98
movsx eax, byte [ebx + 1]
add eax, 0xffffff9b
cmp eax, 0xe
ja case.0x4177ad.103
movzx eax, byte [eax + 0x417e5c]
jmp dword [eax*4 + 0x417e44]
lea esi, [ebx + 2]
push esi
push 0
push 1
push 0
call ecx
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 8], eax
test eax, eax
jne case.0x417006.122
push esi
push str.Error_creating_opening_start_notification_event:__s_n
push 2
call fcn.0041d090
add esp, 4
push eax
call fcn.00401090
add esp, 0xc
push 1
call fcn.0042265e
lea esi, [ebx + 2]
push esi
push 0
push 1
push 0
call ecx
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0xc], eax
test eax, eax
jne case.0x417006.122
push esi
push str.Error_creating_opening_finish_notification_event:__s_n
jmp 0x4177d7
lea esi, [ebx + 2]
push esi
push 0
push 1
push 0
call ecx
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 8], eax
test eax, eax
jne case.0x417006.122
push esi
push str.Error_creating_opening_wait_for_start_event:__s_n
jmp 0x4177d7
lea esi, [ebx + 2]
push esi
push 0
push 1
push 0
call ecx
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 4], eax
test eax, eax
jne case.0x417006.122
push esi
push str.Error_creating_opening_force_stop_event:__s_n
jmp 0x4177d7
lea esi, [ebx + 2]
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ebx, eax
test ebx, ebx
je 0x417b81
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x417b6d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push str.Succesfully_set_event:__s_n
call fcn.004010b0
mov ebx, dword [ebp - 0x134]
add esp, 8
mov byte [ebp - 0x11e], 1
jmp case.0x417006.122
mov byte [ebp - 0x11d], 1
cmp byte [ebx + 1], 0
lea eax, [ebx + 1]
jne 0x4178cc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
jmp 0x417ad1
push eax
call fcn.00421b5c
add esp, 4
test eax, eax
js 0x4170a3
mov dword [ebp - 0x3c], eax
jmp 0x417ad1
cmp byte [ebx + 1], 0
lea edx, [ebx + 1]
jne 0x417912
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je case.0x417006.98
lea esp, [esp]
mov byte [eax + 0x3c], 1
add eax, 0xb0
cmp eax, edi
jne 0x417900
jmp case.0x417006.98
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 6
cmp byte [edx], 0
mov dword [ebp - 0x1c0], 0xf
mov dword [ebp - 0x1c4], 0
mov byte [ebp - 0x1d4], 0
jne 0x417960
xor ecx, ecx
jmp 0x41796e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417965
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1d4]
call fcn.00409270
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x148]
mov esi, dword [ebp - 0x150]
push eax
lea eax, [ebp - 0x1d4]
or esi, 1
push eax
mov dword [ebp - 0x12c], esi
call fcn.00416230
test al, al
je 0x4179c5
cmp dword [ebp - 0x144], 0
ja 0x4179c1
cmp dword [ebp - 0x148], 0
jbe 0x4179c5
mov bl, 1
jmp 0x4179c7
xor bl, bl
mov dword [ebp - 4], 6
and esi, 0xfffffffe
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x150], esi
cmp eax, 0x10
jb 0x4179ef
inc eax
push eax
push dword [ebp - 0x1d4]
call fcn.00401970
test bl, bl
je 0x417a9c
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x417abb
lea esi, [eax + 0x90]
jmp 0x417a10
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x1a4]
mov dword [esi - 8], eax
mov eax, dword [ebp - 0x144]
push 0xffffffffffffffff
mov dword [esi - 4], eax
lea eax, [ebp - 0x6c]
push 0
push eax
mov dword [ebp - 0x190], 0xf
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x1a4], 0
call fcn.00409370
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 8
cmp esi, eax
je 0x417a6a
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00409370
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x190]
cmp eax, 0x10
jb 0x417a86
inc eax
push eax
push dword [ebp - 0x1a4]
call fcn.00401970
add esi, 0xb0
lea eax, [esi - 0x90]
cmp eax, edi
jne 0x417a10
jmp 0x417abb
push str.Invalid_size_passed_to__Z_n
push 2
call fcn.0041d090
add esp, 4
push eax
call fcn.00401090
add esp, 8
mov byte [ebp - 0x11d], 1
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x417ad1
inc eax
push eax
push dword [ebp - 0x6c]
call fcn.00401970
cmp byte [ebp - 0x11d], 0
jne 0x4170a3
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x140]
dec ecx
add eax, 4
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], eax
test ecx, ecx
jne 0x416fc1
cmp byte [ebp - 0x11e], 0
je 0x417b8c
push str.Now_exiting..._n
call fcn.004010b0
add esp, 4
jmp 0x4177ea
push str.Invalid_base_file_offset_passed_to__B_n
push 2
call fcn.0041d090
add esp, 4
push eax
call fcn.00401090
mov eax, dword [ebp - 0x134]
add esp, 8
push eax
push str.Incorrectly_provided_option:__s_n
jmp 0x4177d7
push str.Invalid_file_size_passed_to__c_n
jmp 0x417b26
push str.Invalid_max_file_size_passed_to__f_n
jmp 0x417b26
push str.Invalid_alignment_passed_to__r_n
jmp 0x417b26
push str.Invalid_stride_size_passed_to__s_n
jmp 0x417b26
push str.Invalid_offset_passed_to__T_n
jmp 0x417b26
mov eax, dword [ebp - 0x134]
add eax, 2
push eax
push str.Error_setting_event__s_n
jmp 0x4177d7
push esi
push str.Error_opening_event__s_n
jmp 0x4177d7
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x134], eax
mov ecx, edi
mov eax, 0x2e8ba2e9
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x417c87
push str.You_need_to_provide_at_least_one_filename_n
push 2
call fcn.0041d090
add esp, 4
push eax
call fcn.00401090
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x417be5
sub esi, eax
sar esi, 2
push esi
push eax
call fcn.00401910
test ebx, ebx
je 0x417c1d
push dword [ebp - 0x12c]
mov edx, dword [ebp - 0x50]
push ecx
mov ecx, ebx
call fcn.00401a30
mov ecx, dword [ebp - 0x134]
mov eax, 0x2e8ba2e9
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.004018b0
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417c57
push dword [ebp - 0x12c]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.00401a30
mov ecx, dword [ebp - 0x130]
mov eax, 0x2e8ba2e9
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.004018b0
xor al, al
jmp 0x417d54
mov eax, dword [ebp - 0x128]
push dword [eax]
call fcn.00416360
push 0
jmp 0x4177ec
push ebx
push str.Invalid_option:__s_n
jmp 0x4177d7
push str.Invalid_option_n
jmp 0x41705d
mov ebx, dword [ebp - 0x1c]
mov esi, ebx
cmp ebx, edi
je 0x417ca3
push esi
lea ecx, [ebp - 0x54]
call fcn.00415f20
add esi, 0xb0
cmp esi, edi
jne 0x417c90
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00416020
mov ecx, dword [ebp - 0x138]
push eax
mov byte [ebp - 4], 9
call fcn.00418080
lea ecx, [ebp - 0x20c]
call fcn.00401190
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x417ce3
mov eax, dword [ebp - 0x28]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00401910
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x417d1b
push dword [ebp - 0x12c]
mov edx, dword [ebp - 0x50]
push ecx
mov ecx, esi
call fcn.00401a30
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2e8ba2e9
sub ecx, esi
add esp, 8
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004018b0
test ebx, ebx
je 0x417d52
push dword [ebp - 0x12c]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.00401a30
mov ecx, dword [ebp - 0x130]
mov eax, 0x2e8ba2e9
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.004018b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a002
mov esp, ebp
pop ebp
ret 0x10