Function at 0x415b10
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x4d0
push ebx
push ebp
push esi
push edi
push 0x7f02
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esi + 0x200]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x70]
push 0x50
push eax
push 0x94
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x200]
lea edx, [esp + 0x70]
push 0x1f4
push edx
push eax
push ecx
call fcn.004539e0
add esp, 0x10
mov dword [esp + 0x20], eax
push str.Scanning...
push 0x1fb
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push edx
call edi
mov ebx, eax
mov eax, 8
mov ecx, 4
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], 0xb
jle 0x415cf2
mov dword [esp + 0x10], ebp
jmp 0x415bd9
mov ecx, 4
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0xc]
push eax
push 0
push 0x1005
push ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0
call edi
mov ecx, dword [esp + 0x68]
mov edi, eax
neg edi
sbb edi, edi
and edi, ecx
cmp dword [edi + 8], 2
je 0x415cd8
mov eax, dword [0x4eb3c8]
test eax, eax
je 0x415c28
push 0
push 0
push 0
push edi
mov ecx, esi
call fcn.00421ae0
xor ebx, ebx
mov eax, dword [ebx*4 + 0x4eb3b8]
test eax, eax
je 0x415c8a
lea edx, [esp + 0xd8]
push 0x100
push edx
push ebx
push ebp
mov ecx, esi
call fcn.0041c6f0
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x50
jle 0x415c65
mov eax, 0x50
jmp 0x415c73
lea ecx, [esp + 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test ebx, ebx
jne 0x415c80
cmp dword [edi + 8], 1
jne 0x415c80
add eax, 2
cmp eax, dword [esp + ebx*4 + 0x2c]
jle 0x415c8a
mov dword [esp + ebx*4 + 0x2c], eax
inc ebx
cmp ebx, 6
jl 0x415c2a
mov eax, ebp
mov ecx, 0xa
cdq
idiv ecx
test edx, edx
jne 0x415cd4
mov eax, dword [esp + 0x10]
push edx
cdq
idiv dword [esp + 0x20]
mov edi, dword [esp + 0x24]
push eax
push 0x402
push 0x208
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
call fcn.00453a20
mov eax, dword [0x4eba3c]
add esp, 4
test eax, eax
jne 0x4161d8
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
inc ebp
add ecx, 0x64
cmp ebp, ebx
mov dword [esp + 0x10], ecx
jl 0x415bd4
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x48]
push edx
push ebx
push 0x1019
push eax
mov dword [esp + 0x58], 0x20
call edi
test eax, eax
je 0x415d56
mov eax, dword [0x4eb884]
test eax, eax
je 0x415d24
mov ebp, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov eax, 0x4eb3b8
cmp dword [eax], 0
je 0x415d39
test edx, edx
je 0x415d44
dec edx
add eax, 4
inc ecx
cmp eax, 0x4eb3d0
jl 0x415d2f
mov eax, dword [esp + 0x10]
mov dword [esp + ebp*4 + 0xc0], ecx
inc eax
mov dword [esp + 0x10], eax
mov ebp, eax
inc ebx
cmp ebx, 6
jl 0x415cfa
mov ecx, dword [esp + 0x20]
push str.Writing...
push 0x1fb
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dl, byte [0x4eb858]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2dd]
mov byte [esp + 0x2dc], dl
mov byte [esp + 0x1d8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d9]
lea edx, [esp + 0x1d8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x104
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x1d8]
push str.Folder_Contents.txt
lea ecx, [esp + 0x2e0]
push eax
push ecx
call fcn.0044a2d0
lea edx, [esp + 0x2e8]
push 0x4e07d4
push edx
call fcn.004bf62a
add esp, 0x14
mov ebx, eax
test ebp, ebp
jle 0x415f23
lea edi, [esp + 0xc0]
mov dword [esp + 0x14], ebp
mov eax, dword [edi]
cmp eax, 5
ja case.default.0x415e0d
jmp dword [eax*4 + 0x4161f8]
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x70]
push 0x50
push eax
push 0x9b
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x70]
push edx
push eax
push str.__s
jmp 0x415f08
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x70]
push 0x50
push ecx
push 0x7c
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x70]
push eax
push ecx
push 0x4e07c4
jmp 0x415f08
mov eax, dword [esi + 0x200]
lea edx, [esp + 0x70]
push 0x50
push edx
push 0x7d
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push edx
push str.__s
jmp 0x415f08
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x70]
push 0x50
push eax
push 0x7e
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x70]
push edx
push eax
push 0x4e07c4
jmp 0x415f08
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x70]
push 0x50
push ecx
push 0x7f
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x70]
push eax
push ecx
push 0x4e07c4
jmp 0x415f08
mov eax, dword [esi + 0x200]
lea edx, [esp + 0x70]
push 0x50
push edx
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x70]
push ecx
push edx
push 0x4e07bc
push ebx
call fcn.004bf5bd
add esp, 0x10
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x415e02
push 0x4e0748
push ebx
call fcn.004bf5bd
add esp, 8
test ebp, ebp
jle 0x415fbb
lea eax, [esp + 0xc0]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [eax*4 + 0x4eb3b8]
test ecx, ecx
je 0x415fa5
mov eax, dword [esp + eax*4 + 0x2c]
cmp eax, 0xff
mov edx, eax
jb 0x415f6b
mov edx, 0xff
mov ecx, edx
mov eax, 0x2d2d2d2d
mov ebp, ecx
lea edi, [esp + 0xd8]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov byte [esp + edx + 0xd8], 0
lea edx, [esp + 0xd8]
push edx
push 0x4e07b4
push ebx
call fcn.004bf5bd
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jne 0x415f48
push 0x4e0748
push ebx
call fcn.004bf5bd
mov eax, dword [esp + 0x24]
add esp, 8
xor edi, edi
test eax, eax
mov dword [esp + 0x24], edi
jle 0x41617c
mov dword [esp + 0x14], edi
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x48]
push eax
push 0
push 0x1005
push ecx
mov dword [esp + 0x58], 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x68]
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, edx
mov eax, dword [ebp + 8]
cmp eax, 2
je 0x416160
cmp eax, 3
je 0x416160
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x41610e
lea edx, [esp + 0xc0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov eax, dword [edi*4 + 0x4eb3b8]
test eax, eax
je 0x4160f0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
push 0x100
push ecx
push edi
push edx
mov ecx, esi
call fcn.0041c6f0
test edi, edi
jne 0x4160b2
cmp dword [ebp + 8], 1
jne 0x4160b2
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x3e0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x3e0]
lea eax, [esp + 0xd8]
push edx
push 0x4e07ac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp edi, 1
je 0x4160d5
cmp edi, 2
jle 0x4160c1
cmp edi, 4
jle 0x4160d5
mov edx, dword [esp + edi*4 + 0x2c]
lea ecx, [esp + 0xd8]
push ecx
push edx
push str.__s
jmp 0x4160e7
mov ecx, dword [esp + edi*4 + 0x2c]
lea eax, [esp + 0xd8]
push eax
push ecx
push 0x4e07c4
push ebx
call fcn.004bf5bd
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
jne 0x416045
mov edi, dword [esp + 0x24]
push 0x4e0748
push ebx
call fcn.004bf5bd
mov eax, edi
mov ecx, 0xa
cdq
idiv ecx
add esp, 8
test edx, edx
jne 0x416160
mov eax, dword [esp + 0x14]
push edx
cdq
idiv dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
push eax
push 0x402
push 0x208
push ebp
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebp
call fcn.00453a20
mov eax, dword [0x4eba3c]
add esp, 4
test eax, eax
jne 0x4161e3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc edi
add ecx, 0x64
cmp edi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
jl 0x415fdf
push ebx
call fcn.004bf540
mov ecx, dword [esi + 8]
add esp, 4
lea edx, [esp + 0x1d8]
lea eax, [esp + 0x2dc]
push 0xa
push edx
push 0
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x4161c2
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x200]
push 0x20d
push edx
push eax
call fcn.0044aec0
add esp, 0xc
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d0
ret
push ebx
call fcn.004bf540
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d0
ret