Function at 0x40100a
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x426827
call fcn.004256c0
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.0041e7e0
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push dword [0x430268]
push dword [0x4295c8]
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.004178bc
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x54]
push eax
call fcn.004032f1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004023a6
mov byte [ebp - 4], bl
push dword [ebp - 0x54]
call fcn.00403a73
pop ecx
lea ecx, [ebp - 0x48]
call fcn.004032ae
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004032ae
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004051e5
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
call fcn.004055cd
test al, al
jne 0x4010cc
push dword [0x430268]
push str.GetFullPathName_Error
call edi
push dword [ebp - 0x30]
call fcn.00403a73
push dword [ebp - 0x48]
call fcn.00403a73
add esp, 0x10
jmp 0x40184d
push dword [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403a73
cmp dword [ebp - 0x38], ebx
pop ecx
jbe 0x4010e7
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00401f69
lea ecx, [ebp - 0xd0]
call fcn.00402469
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0xd0]
push eax
push 6
push 0x4295d0
mov byte [ebp - 4], 5
call fcn.004026e4
cmp al, bl
jne 0x401198
push dword [0x430268]
push str.Command_line_error:
call edi
pop ecx
mov esi, 0x430268
pop ecx
mov ecx, esi
call fcn.00403ba8
push dword [0x430268]
push dword [ebp - 0xbc]
call edi
pop ecx
pop ecx
mov ecx, esi
call fcn.00403ba8
mov ecx, esi
push dword [ebp - 0xb0]
call fcn.00403bbb
mov ecx, eax
call fcn.00403ba8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004024b1
push dword [ebp - 0x48]
call fcn.00403a73
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.00401f34
push 7
jmp 0x40185b
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 4], 4
cmp byte [eax], bl
jne 0x401873
cmp byte [eax + 0x14], bl
jne 0x401873
xor esi, esi
cmp dword [ebp - 0xc8], ebx
jne 0x4011c9
mov dword [ebp - 0x20], 1
jmp 0x401216
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0x20]
mov esi, dword [eax]
mov ecx, esi
call fcn.00401de0
test al, al
jne 0x401213
push dword [0x430268]
mov ebx, dword [esi]
push 0x42985c
call edi
pop ecx
mov esi, 0x430268
pop ecx
mov ecx, esi
call fcn.00403ba8
mov ecx, esi
push ebx
call fcn.00403bbb
mov ecx, eax
call fcn.00403ba8
push 7
pop ebx
jmp 0x4016a1
push 1
pop esi
lea ecx, [ebp - 0x20]
call fcn.00401000
lea ecx, [ebp - 0xec]
mov edi, eax
call fcn.004018ad
cmp esi, dword [ebp - 0xc8]
mov byte [ebp - 4], 7
jne 0x40126c
push dword [0x429624]
lea ecx, [ebp - 0x54]
call fcn.00403334
push edi
push 1
mov edx, eax
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.00401e8d
mov byte [ebp - 4], 7
push dword [ebp - 0x54]
call fcn.00403a73
cmp esi, dword [ebp - 0xc8]
pop ecx
jae 0x401293
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax + esi*4]
cmp dword [edx + 4], ebx
je 0x4012f7
push edi
push 1
lea ecx, [ebp - 0xec]
call fcn.00401e8d
inc esi
cmp esi, dword [ebp - 0xc8]
jb 0x40126e
mov eax, dword [ebp - 0xd0]
mov cl, byte [eax + 0x3c]
mov al, byte [eax + 0x50]
mov byte [ebp - 0x16], cl
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x15], al
call fcn.004032ae
cmp byte [ebp - 0x15], bl
mov byte [ebp - 4], 9
je 0x4012cf
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xa4]
mov eax, dword [eax + 0x58]
push dword [eax]
call fcn.00403451
mov ecx, dword [ebp - 0x48]
call fcn.00405eb8
test al, al
jne 0x40130c
mov eax, dword [0x429634]
push 0x42bc88
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x80]
push 0x42bc78
push eax
mov dword [ebp - 0x80], 0x42984c
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x7c]
call fcn.004032ae
mov eax, dword [ebp - 0xd0]
mov byte [ebp - 4], 0xa
cmp byte [eax + 0x64], bl
je 0x401338
mov eax, dword [eax + 0x6c]
lea ecx, [ebp - 0x7c]
push dword [eax]
call fcn.00403451
lea ecx, [ebp - 0x7c]
call fcn.0040641e
push ebx
lea ecx, [ebp - 0xec]
call int.00404e03
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.0040fc7e
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00402265
lea ecx, [ebp - 0x60]
call fcn.0040fc7e
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
call fcn.00402265
mov eax, dword [ebp - 0xec]
push 0x18
mov eax, dword [eax]
add eax, 0xc
mov dword [ebp - 0x14], eax
call fcn.00403a3f
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x4013b1
mov ecx, eax
call fcn.004018c9
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x4013b6
mov dword [ebp - 0x1c], ebx
mov esi, ebx
cmp esi, ebx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xf4], esi
je 0x4013ca
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0040d9bf
cmp eax, ebx
je 0x4013f0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push 0x42bc68
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x20], 2
je 0x40185e
push 0x170
call fcn.00403a3f
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x40141b
mov ecx, eax
call fcn.004019e7
mov esi, eax
jmp 0x40141d
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xf0], esi
je 0x401431
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x430510]
mov ecx, esi
push eax
push 0x430258
push eax
mov byte [ebp - 4], 0x10
call fcn.00401cee
mov al, byte [ebp - 0x15]
lea ecx, [esi + 0xdc]
mov byte [esi + 0xda], al
lea eax, [ebp - 0xa4]
push eax
call fcn.00403451
lea ecx, [ebp - 0x134]
call fcn.00401919
cmp dword [ebp - 0x20], ebx
mov al, byte [ebp - 0x16]
mov byte [ebp - 0xf6], al
mov byte [ebp - 4], 0x11
sete cl
mov byte [ebp - 0xf5], cl
xor ecx, ecx
cmp al, bl
lea eax, [ebp - 0x7c]
setne cl
mov dword [ebp - 0x128], ecx
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 0xf7], bl
mov dword [ebp - 0x12c], ebx
call fcn.00403451
lea ecx, [ebp - 0x30]
call fcn.004032ae
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
lea eax, [ebp - 0x16c]
lea ecx, [esi + 4]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, esi
neg eax
sbb eax, eax
push esi
and eax, ecx
lea edi, [esi + 0x10]
push eax
mov eax, esi
neg eax
sbb eax, eax
mov ecx, dword [ebp - 0x1c]
and eax, edi
lea edx, [ebp - 0x98]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x60]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
call int.0040c258
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x13
call fcn.00402024
mov byte [ebp - 4], 0x12
push dword [ebp - 0x54]
call fcn.00403a73
cmp dword [edi + 0xac], ebx
pop ecx
je 0x40154f
push 1
lea ecx, [edi + 8]
call fcn.00412147
cmp dword [ebp - 0x2c], ebx
je 0x40158e
mov edi, dword [0x430510]
mov ecx, edi
mov dword [ebp - 0x24], edi
call fcn.00403ba8
push dword [edi]
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push 0x429844
call edi
pop ecx
pop ecx
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
call fcn.00403bbb
cmp dword [ebp - 0x14], ebx
jne 0x401594
mov dword [ebp - 0x14], 0x80004005
jmp 0x401594
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
mov ecx, dword [esi + 0x128]
mov edx, dword [esi + 0x12c]
cmp ecx, ebx
jne 0x4016cc
cmp edx, ebx
jne 0x4016cc
cmp dword [esi + 0x130], ebx
lea eax, [esi + 0x130]
jne 0x4016cc
cmp dword [eax + 4], ebx
jne 0x4016cc
cmp dword [esi + 0x150], ebx
lea eax, [esi + 0x150]
jne 0x4016cc
cmp dword [eax + 4], ebx
jne 0x4016cc
cmp dword [esi + 0x140], ebx
lea eax, [esi + 0x140]
jne 0x4016cc
cmp dword [eax + 4], ebx
jne 0x4016cc
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40161f
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push 0x42bc68
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x30]
call fcn.00403a73
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x134]
call fcn.004019d0
cmp esi, ebx
mov byte [ebp - 4], 0xe
je 0x401645
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x401656
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.00401f34
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.00401f34
push dword [ebp - 0x7c]
call fcn.00403a73
push dword [ebp - 0xa4]
call fcn.00403a73
pop ecx
pop ecx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x16
call fcn.00401f34
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.00401f98
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004024b1
push dword [ebp - 0x48]
call fcn.00403a73
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.00401f34
mov eax, ebx
jmp 0x40189e
or ecx, edx
je 0x4016f4
mov ecx, dword [0x430510]
mov dword [ebp - 0x14], ecx
call fcn.00403ba8
mov eax, dword [ebp - 0x14]
push dword [eax]
push 0x42982c
call edi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.00403ba8
mov ecx, dword [esi + 0x130]
lea eax, [esi + 0x130]
or ecx, dword [eax + 4]
je 0x401729
mov ecx, dword [0x430510]
mov dword [ebp - 0x14], ecx
call fcn.00403ba8
mov eax, dword [ebp - 0x14]
push dword [eax]
push 0x42981c
call edi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.00403ba8
mov eax, dword [esi + 0x150]
or eax, dword [esi + 0x154]
je 0x40176e
mov ecx, dword [0x430510]
mov dword [ebp - 0x14], ecx
call fcn.00403ba8
mov eax, dword [ebp - 0x14]
push dword [eax]
push 0x429808
call edi
pop ecx
pop ecx
push dword [esi + 0x154]
mov ecx, dword [ebp - 0x14]
push dword [esi + 0x150]
call fcn.00403db3
mov ecx, eax
call fcn.00403ba8
mov eax, dword [esi + 0x140]
or eax, dword [esi + 0x144]
je 0x4017b3
mov ecx, dword [0x430510]
mov dword [ebp - 0x14], ecx
call fcn.00403ba8
mov eax, dword [ebp - 0x14]
push dword [eax]
push 0x4297f8
call edi
pop ecx
pop ecx
push dword [esi + 0x144]
mov ecx, dword [ebp - 0x14]
push dword [esi + 0x140]
call fcn.00403db3
mov ecx, eax
call fcn.00403ba8
push dword [ebp - 0x30]
call fcn.00403a73
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x134]
call fcn.004019d0
cmp esi, ebx
mov byte [ebp - 4], 0xe
je 0x4017d9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4017ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.00401f34
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call 0x5cbc1f34
pop ss
and dword [eax + edi*4], ebx
popal
xchg esi, eax
sub al, 0x64
add dword [ebp - 0x80], 0xffffff8b
daa
invalid
scasd eax, dword es:[edi]
test al, 0xe3
xchg ecx, eax
mov ebp, 0xa6efe0c0
cmp byte [esi - 0x3e], 0xbc
add ebp, dword [edx*2 - 0x37f30ffb]
cmp dh, 0xd8
shr bl, 1
cmc
nop
mov cl, 0xb4
mov esp, 0x5552c03
invalid
push ebp
add eax, 0x80c80cf0
invalid
dec dword [ecx + 0x5c0e6728]
mov cl, 0x15
pushfd
and byte [eax + eax - 0xc908ea5], ah
aad 0x1f