Function at 0x409a70
Capabilities:
Set current directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4550
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3ac
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x398]
push eax
push 5
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x398], 0
push eax
push esi
mov dword [ebp - 0x1c], 0x4c2c033
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
call esi
test eax, eax
jne 0x409e7b
push str.AddVectoredExceptionHandler
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x409b4c
mov dword [ebp - 0x24], 0x8c2c033
mov byte [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x398]
push ecx
push 5
lea ecx, [ebp - 0x24]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
call esi
test eax, eax
jne 0x409e7b
push 0x63e93c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005a7bb1
add esp, 4
lea eax, [ebp - 0x230]
push 0x208
push 0
push eax
call fcn.005a49e0
add esp, 0xc
lea eax, [ebp - 0x230]
push 0x104
push eax
push dword [ebp - 0x394]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x230]
push 0x5c
push eax
call fcn.005a3bac
add esp, 8
test eax, eax
je 0x409bbb
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x3a0], 8
push eax
mov dword [ebp - 0x39c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
xor ecx, ecx
test eax, eax
push 3
setns cl
mov dword [ebp - 0x394], ecx
call fcn.004b2b90
add esp, 4
call fcn.00450c70
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x234], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409c27
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004066d0
mov ecx, dword [ebp - 0x238]
mov eax, accept
sub eax, ecx
cmp eax, 0x25
jb 0x409e9c
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0x25
cmovae eax, dword [ebp - 0x248]
push str._fed807683216b3e838e40783a23ea66c.ini
push ecx
push eax
push ecx
push dword [ebp - 0x394]
lea ecx, [ebp - 0x3b8]
call fcn.0040a060
lea ecx, [ebp - 0x390]
call fcn.0040a420
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
mov word [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
movups xmm0, xmmword [ebp - 0x3b8]
mov dword [ebp - 0x26c], 0
movq xmm1, qword [ebp - 0x3a8]
mov dword [ebp - 0x268], 0xf
movups xmmword [ebp - 0x264], xmm0
movq qword [ebp - 0x254], xmm1
lea ecx, [ebp - 0x390]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b9d0
mov esi, eax
call fcn.00450cf0
call fcn.004b2b50
cmp dword [ebp - 0x394], 0
je 0x409d29
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0x250]
cmp ecx, 8
jb 0x409d69
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409d5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ea1
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
cmp ecx, 0x10
jb 0x409dc0
mov edx, dword [ebp - 0x27c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409db6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ea1
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
cmp ecx, 0x10
jb 0x409e15
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409e0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ea1
push ecx
push edx
call fcn.005a242d
add esp, 8
lea ecx, [ebp - 0x390]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
mov byte [ebp - 0x298], 0
call fcn.00409720
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x409e77
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409e6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ea1
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, esi
jmp 0x409e7d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004033f0
call fcn.005a7b3f
int3