Function at 0x413e50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677c38
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x71a06c]
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 edi, ecx
lea ecx, [ebp - 0x298]
call fcn.004d558d
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x298]
call fcn.004d5b2e
push 0x701d94
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x298]
call fcn.004d55ce
mov byte [ebp - 4], 1
cmp dword [ebp - 0x250], 0
jbe 0x413f0f
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
sub esp, 0x18
mov esi, eax
mov edx, esp
mov ecx, esi
xor eax, eax
mov dword [edx + 0x10], 0
lea ebx, [ecx + 2]
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413f02
jmp 0x413f5b
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
sub esp, 0x18
mov esi, eax
mov edx, esp
mov ecx, esi
xor eax, eax
mov dword [edx + 0x10], 0
lea ebx, [ecx + 2]
mov dword [edx + 0x14], 7
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413f50
sub ecx, ebx
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00404e30
mov ecx, edi
call fcn.00413d30
push edi
lea ecx, [ebp - 0x230]
call fcn.00408cb0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004cf112
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x413fe7
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413fdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41441b
push edx
push ecx
call fcn.0042e920
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
push 1
push 0x701d90
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00404e30
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004cdf40
add esp, 0xc
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x414092
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414420
push edx
push ecx
call fcn.0042e920
add esp, 8
mov ecx, dword [ebp - 0x2a4]
xor eax, eax
mov esi, dword [ebp - 0x2a8]
sub ecx, esi
mov word [ebp - 0x248], ax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x238], 0
sar edx, 2
mov eax, edx
mov dword [ebp - 0x234], 7
shr eax, 0x1f
add eax, edx
cmp eax, 3
jb 0x414269
lea ebx, [ebp - 0x230]
push 0x3a8
test eax, eax
je 0x414425
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00408cb0
push ebx
call fcn.004ce12a
add esp, 0x20
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 8
mov eax, ebx
cmp ecx, eax
je 0x414125
cmp dword [ebp - 0x21c], 0x10
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00407210
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x414163
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414159
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41442a
push edx
push ecx
call fcn.0042e920
add esp, 8
mov ecx, dword [ebp - 0x2a4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x2a8]
sub esp, 0x18
sub ecx, esi
mov ebx, esp
imul ecx
push 0x3a8
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41442f
sub esp, 0x18
lea eax, [esi + 0x18]
mov ecx, esp
push eax
call fcn.00408cb0
push ebx
call fcn.004ce12a
add esp, 0x20
mov ecx, edi
call fcn.00413dc0
mov ecx, dword [ebp - 0x2a4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x2a8]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x414434
sub esp, 0x18
lea eax, [esi + 0x30]
mov ecx, esp
push eax
call fcn.00408cb0
call fcn.004cdc36
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004cd6a5
add esp, 0x20
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x414229
cmp dword [ebp - 0x21c], 0x10
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00407210
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x414263
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414259
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414439
push edx
push ecx
call fcn.0042e920
add esp, 8
mov esi, dword [ebp - 0x2a8]
test esi, esi
je 0x41433e
mov edi, dword [ebp - 0x2a4]
cmp esi, edi
je 0x4142d9
nop dword [eax + eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4142b9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4142af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41441b
mov eax, edx
push ecx
push eax
call fcn.0042e920
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x414280
mov esi, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2a0]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x414316
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41443e
push ecx
push esi
call fcn.0042e920
add esp, 8
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x41437e
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414374
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414443
push edx
push ecx
call fcn.0042e920
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
cmp edx, 8
jb 0x4143d7
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4143cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414448
push edx
push ecx
call fcn.0042e920
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.004d55bb
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.0042e2d5
mov esp, ebp
pop ebp
ret
call fcn.0050d76e
call fcn.0050d76e
call fcn.00414450
call fcn.0050d76e
call fcn.00414450
call fcn.00414450
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
int3