Function at 0x40d840
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x24], 0xa2608d3e
jmp 0x40d870
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov dword [ebp - 0x24], 0xc3abda83
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x24]
cmp eax, 0x65e3d589
jg 0x40d910
cmp eax, 0x4bab150d
jg 0x40d920
cmp eax, 0x1a0fbd2a
jg 0x40d93a
cmp eax, 0xe0d4972f
jg 0x40d94a
cmp eax, 0xc7dcfb42
jg 0x40d969
cmp eax, 0xa2608d3d
jg 0x40d9e8
cmp eax, 0x9f9a3191
jne 0x40d870
mov eax, 4
call fcn.00415e20
mov eax, 4
call fcn.00415e20
mov esi, esp
mov eax, 4
call fcn.00415e20
mov ecx, esp
mov eax, 4
call fcn.00415e20
mov dword [esi], 0
mov dword [ecx], 0
mov eax, dword [0x40ecec]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [esi], eax
mov dword [ebp - 0x24], 0xc295fe1a
jmp 0x40d870
cmp eax, 0x65e3d58a
jne 0x40d870
jmp 0x40d851
cmp eax, 0x4bab150e
jne 0x40d870
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0xe0d49730
jmp 0x40d870
cmp eax, 0x1a0fbd2b
jne 0x40d870
jmp 0x40db0b
cmp eax, 0xe0d49730
jne 0x40d870
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0x1a0fbd2b
jmp 0x40d870
cmp eax, 0xc7dcfb43
jne 0x40d870
sub esp, 4
mov dword [esp], 0
call fcn.0040db20
add esp, 4
sub esp, 4
mov dword [esp], eax
call fcn.00416822
add esp, 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
movzx esi, word [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.004045d0
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
movzx edi, word [ecx + eax*2 - 2]
neg edi
sub edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
sub eax, edi
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
mov eax, 0xc1c92246
cmp ecx, dword [edx]
je 0x40d9e0
mov eax, 0x65e3d58a
mov dword [ebp - 0x24], eax
jmp 0x40d870
cmp eax, 0xaabc87ab
jg 0x40da06
cmp eax, 0xa2608d3e
jne 0x40d870
mov dword [ebp - 0x24], 0xc295fe1a
jmp 0x40d870
cmp eax, 0xc1c92245
jg 0x40da1d
cmp eax, 0xaabc87ac
jne 0x40d870
jmp 0x40d851
cmp eax, 0xc4de261e
jg 0x40daaf
cmp eax, 0xc1c92246
je 0x40dad3
cmp eax, 0xc295fe1a
jne 0x40daf4
mov eax, 4
call fcn.00415e20
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00415e20
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00415e20
mov dword [ebp - 0x18], esp
mov eax, 4
call fcn.00415e20
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov eax, dword [0x40ecec]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
sete byte [ebp - 0xd]
mov dword [ebp - 0x24], 0xc4de261f
jmp 0x40d870
cmp eax, 0xc4de261f
jne 0x40d870
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0xaabc87ac
jne 0x40dacb
mov eax, 0xc7dcfb43
mov dword [ebp - 0x24], eax
jmp 0x40d870
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4bd0f8], eax
call fcn.004167ff
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ebp - 0x24], 0xc3abda83
jmp 0x40d870
cmp eax, 0xc3abda83
jne 0x40d870
mov dword [ebp - 0x24], 0xe0d49730
jmp 0x40d870
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret