Function at 0x10040a50
Capabilities:
Accept command line arguments
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x648
push esi
push edi
lea ecx, [ebp - 0x114]
call fcn.1003a3c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.1003a3c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.1003a3c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.1003a3c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.1003a4b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.1003a4b0
mov byte [ebp - 4], 5
mov ecx, 0x10069198
call fcn.1003d940
cmp eax, 0x7e
jae 0x10040b47
push 0x100691c8
lea eax, [ebp - 0xcc]
push eax
push 0x100690c0
lea ecx, [ebp - 0x144]
push ecx
call fcn.1003c340
add esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.1003d9a0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
mov ecx, 0x10069198
call fcn.1003e650
lea ecx, [ebp - 0x12c]
call fcn.1003a6f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x144]
call fcn.1003a6f0
push 0x10029f14
lea ecx, [ebp - 0x15c]
call fcn.1003a330
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
push 0
push 0x10029f1c
mov ecx, dword [ebp - 0x30]
call fcn.10040900
mov esi, eax
add esi, dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor eax, edi
xor eax, esi
mov dword [ebp - 0x38], eax
mov ecx, dword [0x10001b18]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x38]
mov dword [0x10001b18], edx
lea ecx, [ebp - 0x15c]
call fcn.1003a6f0
lea ecx, [ebp - 0xa0]
call fcn.1003d490
mov dword [ebp - 0x18], 0
jmp 0x10040bc9
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xb4]
call fcn.10041c10
cmp dword [ebp - 0x18], eax
jae 0x10040cac
push 0x10029f20
lea ecx, [ebp - 0x1ec]
call fcn.1003a330
mov byte [ebp - 4], 7
push 0x10029f40
lea ecx, [ebp - 0x1d4]
call fcn.1003a330
mov byte [ebp - 4], 8
push 0x10029f68
lea ecx, [ebp - 0x1bc]
call fcn.1003a330
mov byte [ebp - 4], 9
push 0x10029f7c
lea ecx, [ebp - 0x1a4]
call fcn.1003a330
mov byte [ebp - 4], 0xa
push 0x10029f88
lea ecx, [ebp - 0x18c]
call fcn.1003a330
mov byte [ebp - 4], 0xb
push 0x10029fa8
lea ecx, [ebp - 0x174]
call fcn.1003a330
lea ecx, [ebp - 0x174]
call fcn.1003a6f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18c]
call fcn.1003a6f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1a4]
call fcn.1003a6f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1bc]
call fcn.1003a6f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d4]
call fcn.1003a6f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1ec]
call fcn.1003a6f0
jmp 0x10040bc0
push 0x10029fb8
lea ecx, [ebp - 0x21c]
call fcn.1003a330
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
push 0
push 0x10029fc0
mov ecx, dword [ebp - 0x44]
call fcn.100409e0
mov esi, eax
push 0x26
push 0
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.10041c40
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.1003d470
push eax
call fcn.1005af8b
add esp, 4
mov edi, eax
lea ecx, [ebp - 0xcc]
call fcn.1003d470
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, eax
xor esi, edi
mov dword [ebp - 0x50], esi
mov ecx, dword [0x10001b24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x50]
mov dword [0x10001b24], edx
lea ecx, [ebp - 0x204]
call fcn.1003a6f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
call fcn.1003a6f0
push 0x10029fc4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, eax
movsd xmm0, qword [0x10030f68]
call fcn.1005b250
cvttsd2si eax, xmm0
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esi, eax
mov dword [ebp - 0x58], esi
mov ecx, dword [0x10001b44]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x58]
mov dword [0x10001b44], edx
mov eax, dword [ebp - 0xa8]
sub eax, dword [0x10001b20]
je 0x100412f7
mov dword [ebp - 0x1c], 0
jmp 0x10040db5
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov ecx, 0x100010c8
call fcn.10041c10
cmp dword [ebp - 0x1c], eax
jae 0x100412f7
push 0x10029fe0
lea ecx, [ebp - 0x5ac]
call fcn.1003a330
mov byte [ebp - 4], 0xd
push 0x1002a004
lea ecx, [ebp - 0x594]
call fcn.1003a330
mov byte [ebp - 4], 0xe
push 0x1002a024
lea ecx, [ebp - 0x57c]
call fcn.1003a330
mov byte [ebp - 4], 0xf
push 0x1002a02c
lea ecx, [ebp - 0x564]
call fcn.1003a330
mov byte [ebp - 4], 0x10
push 0x1002a04c
lea ecx, [ebp - 0x54c]
call fcn.1003a330
mov byte [ebp - 4], 0x11
push 0x1002a074
lea ecx, [ebp - 0x534]
call fcn.1003a330
mov byte [ebp - 4], 0x12
push 0x1002a08c
lea ecx, [ebp - 0x51c]
call fcn.1003a330
mov byte [ebp - 4], 0x13
push 0x1002a090
lea ecx, [ebp - 0x504]
call fcn.1003a330
mov byte [ebp - 4], 0x14
push 0x1002a098
lea ecx, [ebp - 0x4ec]
call fcn.1003a330
mov byte [ebp - 4], 0x15
push 0x1002a0a4
lea ecx, [ebp - 0x4d4]
call fcn.1003a330
mov byte [ebp - 4], 0x16
push 0x1002a0c8
lea ecx, [ebp - 0x4bc]
call fcn.1003a330
mov byte [ebp - 4], 0x17
push 0x1002a0d0
lea ecx, [ebp - 0x4a4]
call fcn.1003a330
mov byte [ebp - 4], 0x18
push 0x1002a0e8
lea ecx, [ebp - 0x48c]
call fcn.1003a330
mov byte [ebp - 4], 0x19
push 0x1002a108
lea ecx, [ebp - 0x474]
call fcn.1003a330
mov byte [ebp - 4], 0x1a
push 0x1002a130
lea ecx, [ebp - 0x45c]
call fcn.1003a330
mov byte [ebp - 4], 0x1b
push 0x1002a150
lea ecx, [ebp - 0x444]
call fcn.1003a330
mov byte [ebp - 4], 0x1c
push 0x1002a158
lea ecx, [ebp - 0x42c]
call fcn.1003a330
mov byte [ebp - 4], 0x1d
push 0x1002a164
lea ecx, [ebp - 0x414]
call fcn.1003a330
mov byte [ebp - 4], 0x1e
push 0x1002a174
lea ecx, [ebp - 0x3fc]
call fcn.1003a330
mov byte [ebp - 4], 0x1f
push 0x1002a180
lea ecx, [ebp - 0x3e4]
call fcn.1003a330
mov byte [ebp - 4], 0x20
push 0x1002a194
lea ecx, [ebp - 0x3cc]
call fcn.1003a330
mov byte [ebp - 4], 0x21
push 0x1002a1b4
lea ecx, [ebp - 0x3b4]
call fcn.1003a330
mov byte [ebp - 4], 0x22
push 0x1002a1c8
lea ecx, [ebp - 0x39c]
call fcn.1003a330
mov byte [ebp - 4], 0x23
push 0x1002a1cc
lea ecx, [ebp - 0x384]
call fcn.1003a330
mov byte [ebp - 4], 0x24
push 0x1002a1e4
lea ecx, [ebp - 0x36c]
call fcn.1003a330
mov byte [ebp - 4], 0x25
push 0x1002a1fc
lea ecx, [ebp - 0x354]
call fcn.1003a330
mov byte [ebp - 4], 0x26
push 0x1002a220
lea ecx, [ebp - 0x33c]
call fcn.1003a330
mov byte [ebp - 4], 0x27
push 0x1002a244
lea ecx, [ebp - 0x324]
call fcn.1003a330
mov byte [ebp - 4], 0x28
push 0x1002a250
lea ecx, [ebp - 0x30c]
call fcn.1003a330
mov byte [ebp - 4], 0x29
push 0x1002a258
lea ecx, [ebp - 0x2f4]
call fcn.1003a330
mov byte [ebp - 4], 0x2a
push 0x1002a26c
lea ecx, [ebp - 0x2dc]
call fcn.1003a330
mov byte [ebp - 4], 0x2b
push 0x1002a27c
lea ecx, [ebp - 0x2c4]
call fcn.1003a330
mov byte [ebp - 4], 0x2c
push 0x1002a298
lea ecx, [ebp - 0x2ac]
call fcn.1003a330
mov byte [ebp - 4], 0x2d
push 0x1002a29c
lea ecx, [ebp - 0x294]
call fcn.1003a330
mov byte [ebp - 4], 0x2e
push 0x1002a2b0
lea ecx, [ebp - 0x27c]
call fcn.1003a330
mov byte [ebp - 4], 0x2f
push 0x1002a2c0
lea ecx, [ebp - 0x264]
call fcn.1003a330
mov byte [ebp - 4], 0x30
push 0x1002a2d4
lea ecx, [ebp - 0x24c]
call fcn.1003a330
mov byte [ebp - 4], 0x31
push 0x1002a2e0
lea ecx, [ebp - 0x234]
call fcn.1003a330
lea ecx, [ebp - 0x234]
call fcn.1003a6f0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x24c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x264]
call fcn.1003a6f0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x27c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x294]
call fcn.1003a6f0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x2ac]
call fcn.1003a6f0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x2c4]
call fcn.1003a6f0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x2dc]
call fcn.1003a6f0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x2f4]
call fcn.1003a6f0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x30c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x324]
call fcn.1003a6f0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x33c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x354]
call fcn.1003a6f0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x36c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x384]
call fcn.1003a6f0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x39c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x3b4]
call fcn.1003a6f0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x3cc]
call fcn.1003a6f0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x3e4]
call fcn.1003a6f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x3fc]
call fcn.1003a6f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x414]
call fcn.1003a6f0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x42c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x444]
call fcn.1003a6f0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x45c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x474]
call fcn.1003a6f0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x48c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x4a4]
call fcn.1003a6f0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4bc]
call fcn.1003a6f0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4d4]
call fcn.1003a6f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4ec]
call fcn.1003a6f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x504]
call fcn.1003a6f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x51c]
call fcn.1003a6f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x534]
call fcn.1003a6f0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54c]
call fcn.1003a6f0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x564]
call fcn.1003a6f0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x57c]
call fcn.1003a6f0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x594]
call fcn.1003a6f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5ac]
call fcn.1003a6f0
jmp 0x10040dac
mov ecx, 0x10069120
call fcn.1003d470
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
add dword [ebp - 0x14], 1
cmp byte [ebp - 0xd], 0
jne 0x1004130d
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
push 0
push 0x1002a2e8
mov ecx, 0x100690c0
call fcn.10040890
mov esi, eax
add esi, dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
mov dword [0x10001b3c], esi
mov ecx, 0x10069108
call fcn.1003d940
cmp eax, 0xb1
jae 0x100413c6
push 0x10069168
push 0x100691c8
push 0x100690d8
lea eax, [ebp - 0x5dc]
push eax
call fcn.1003c340
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x5c4]
push eax
call fcn.1003d9a0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, 0x10069108
call fcn.1003e650
lea ecx, [ebp - 0x5c4]
call fcn.1003a6f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5dc]
call fcn.1003a6f0
push 0x100010d4
mov ecx, 0x100010b0
call fcn.1003e690
mov ecx, 0x100690d8
call fcn.1003d940
cmp eax, 0x7a
jae 0x1004144f
push 0x10069120
lea edx, [ebp - 0xfc]
push edx
push 0x10069150
lea eax, [ebp - 0x60c]
push eax
call fcn.1003c340
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 0x33
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x5f4]
push eax
call fcn.1003d9a0
add esp, 0xc
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, 0x100690d8
call fcn.1003e650
lea ecx, [ebp - 0x5f4]
call fcn.1003a6f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60c]
call fcn.1003a6f0
mov ecx, 0x10069138
call fcn.1003d940
cmp eax, 0x26
jae 0x10041493
push 0x10069150
push 0x10069090
lea edx, [ebp - 0x624]
push edx
call fcn.1003c340
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, 0x10069138
call fcn.1003e650
lea ecx, [ebp - 0x624]
call fcn.1003a6f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x90]
push eax
push 0x10069180
mov ecx, dword [0x10001b18]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [0x10001b2c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x63c]
push edx
call sym.desktop.d_unturpentined
add esp, 0x24
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.1003d940
xor esi, eax
mov dword [ebp - 0x88], esi
mov eax, dword [0x10001b38]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x88]
mov dword [0x10001b38], ecx
lea ecx, [ebp - 0x63c]
call fcn.1003a6f0
mov ecx, 0x10069198
call fcn.1003d940
cmp eax, 0x4a
jae 0x10041560
push 0x10069138
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0x654]
push eax
call fcn.1003c340
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, 0x10069198
call fcn.1003e650
lea ecx, [ebp - 0x654]
call fcn.1003a6f0
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0xa0]
call fcn.1003e690
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.1003a750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.1003a750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.1003a6f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.1003a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.1003a6f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.1003a6f0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret