Function at 0x433eb0
Capabilities:
Check if file exists
Create thread
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601595
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x69ee98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 0x40]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x433eec
jmp dword [eax*4 + 0x4343f8]
call fcn.00433c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00433a10
mov dword [ebx + 0x40], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x18], 0
je 0x433f43
mov dword [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x14], 0
je case.default.0x433eec
call fcn.00433df0
test eax, eax
je case.default.0x433eec
cmp dword [ebx + 0x24], 1
jne 0x433f6a
cmp dword [ebx + 0x64], 0
jne 0x434356
mov byte [0x6c7648], 0
mov ecx, dword [ebx + 0x58]
test ecx, ecx
js 0x4343f0
cmp ecx, dword [ebx + 0x4c]
jge 0x4343f0
mov eax, dword [ebx + 0x48]
lea edx, [ecx*4]
mov eax, dword [eax + edx]
cmp dword [eax - 0xc], 0
je 0x434065
mov dword [0x6c7ae0], 1
mov dword [0x6c7adc], 1
mov ecx, dword [ebx + 0x58]
test ecx, ecx
js 0x4343f0
cmp ecx, dword [ebx + 0x4c]
jge 0x4343f0
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + ecx*4]
sub eax, 0x10
push eax
call fcn.00403750
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edx, dword [eax + 4]
test edx, edx
js 0x4343e6
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edx
or eax, ecx
jge 0x43400b
push edx
lea ecx, [ebp - 0x10]
call fcn.00403840
mov esi, dword [ebp - 0x10]
mov ecx, esi
mov edx, 0x6c7648
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x434014
push dword [esi - 8]
push esi
call fcn.005dafda
add esp, 8
test eax, eax
js 0x4343e6
cmp eax, dword [esi - 8]
jg 0x4343e6
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov dword [0x6c7ae0], 1
mov dword [0x6c7adc], 1
mov dword [ebx + 0x40], 5
jmp 0x434152
cmp ecx, dword [ebx + 0x24]
jge 0x4343f0
mov eax, dword [ebx + 0x20]
mov eax, dword [edx + eax]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00403750
mov edi, eax
add esp, 4
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
cmp dword [edi + 4], 0
jle 0x434193
push 0x5c
push esi
call fcn.005e0991
add esp, 8
test eax, eax
je 0x434193
sub eax, esi
cmp eax, 0xffffffff
je 0x434193
mov edx, dword [edi + 4]
test edx, edx
js 0x4343e6
mov eax, dword [edi + 8]
mov ecx, 1
sub ecx, dword [edi + 0xc]
sub eax, edx
or eax, ecx
jge 0x4340e5
push edx
lea ecx, [ebp - 0x10]
call fcn.00403840
mov esi, dword [ebp - 0x10]
push esi
push 0x104
push 0x6c7648
call fcn.005e33e1
push dword [esi - 8]
push esi
call fcn.005dafda
add esp, 0x14
test eax, eax
js 0x4343e6
cmp eax, dword [esi - 8]
jg 0x4343e6
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov dword [0x6c7ae0], 1
mov dword [0x6c7adc], 1
push 0x6c7648
mov dword [ebx + 0x40], 5
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x434152
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg case.default.0x433eec
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x30]
mov edi, dword [0x6c7ad4]
mov dword [0x6c7ab8], eax
add edi, 0xfffffff0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [0x6c7acc], eax
mov eax, dword [0x6c7804]
lea edx, [eax - 0x10]
cmp edx, edi
je 0x434213
cmp dword [edi + 0xc], 0
jl 0x434205
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x434205
push edx
call fcn.00403750
add esp, 4
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4341fb
mov ebx, dword [edi]
push edi
mov edx, dword [ebx]
mov edi, dword [edx + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [0x6c7ad4], eax
jmp 0x434213
push dword [eax - 0xc]
mov ecx, 0x6c7ad4
push eax
call fcn.004038a0
mov ecx, dword [ebx + 0xc]
mov edi, dword [0x6c7ad8]
add edi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x43427f
cmp dword [edi + 0xc], 0
jl 0x434271
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x434271
push edx
call fcn.00403750
add esp, 4
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434267
mov ebx, dword [edi]
push edi
mov edx, dword [ebx]
mov edi, dword [edx + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [0x6c7ad8], eax
jmp 0x43427f
push dword [ecx - 0xc]
push ecx
mov ecx, 0x6c7ad8
call fcn.004038a0
cmp dword [0x6c7ae4], 0
mov dword [0x6c7ae0], 0
mov dword [0x6c7ad0], 0x6c7648
mov dword [0x6c7adc], 0
jne 0x4342d9
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x6c7ab8
push 0x434410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x6c7ae4], eax
mov eax, 5
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x40], eax
jmp 0x434159
mov eax, 3
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x40], eax
jmp 0x434159
cmp dword [0x6c7adc], 0
je case.default.0x433eec
cmp dword [0x6c7ae0], 0
je 0x4343cd
mov dword [0x6c7ae4], 0
mov ecx, dword [ebx + 0x58]
mov dword [ebx + 0x64], 1
test ecx, ecx
js 0x4343f0
cmp ecx, dword [ebx + 0x4c]
jge 0x4343f0
mov eax, dword [ebx + 0x48]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x434356
mov edx, 0x6c7648
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x434342
sub edx, esi
push edx
push 0x6c7648
call fcn.004038a0
mov ecx, ebx
call fcn.00433630
mov dword [ebx + 0x40], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00433da0
cmp eax, 0x20e
je case.default.0x433eec
push 0
mov ecx, ebx
call fcn.00433be0
cmp dword [ebx + 0x24], 1
jle 0x4343b8
call dword [sym.imp.WINMM.dll_timeGetTime]
imul ecx, dword [ebx + 0x38], 0x3e8
mov dword [ebx + 0x40], 6
add eax, ecx
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jne case.default.0x433eec
jmp 0x4343cd
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [ebx + 0x10], eax
jae case.default.0x433eec
cmp dword [ebx + 0x14], 0
je case.default.0x433eec
mov dword [ebx + 0x40], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402cb0
call fcn.00486c16
lea ecx, [ecx]
or bh, byte [edi]
inc ebx
add byte [edi + edi], ah
inc ebx
add byte [edx + 0x43], dh
inc ebx
add ch, ch
inc edx
inc ebx
add byte [ebx + eax*2 + 0x3ef30043], bh
inc ebx
add byte [ebp - 0x75], dl
in al, dx
push 0xffffffffffffffff
push 0x6015f5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x69ee98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00485933
mov edi, eax
test edi, edi
je 0x434904
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
call fcn.00485933
mov ebx, eax
test ebx, ebx
je 0x43490e
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00486e7e
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
lea ebx, [eax + 0x20]
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
jne 0x43450d
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4344c9
push 0x104
mov ecx, ebx
call fcn.00403840
push dword [ebx]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebx]
test eax, eax
jne 0x4344e0
xor ecx, ecx
jmp 0x4344f6
push dword [eax - 8]
push eax
call fcn.005dafda
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4348fa
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x4348fa
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
mov byte [ecx + eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
cmp ecx, dword [eax + 0x28]
jge 0x434527
test ecx, ecx
js 0x434918
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ecx*4]
jmp 0x434529
xor eax, eax
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00403750
add eax, 0x10
add esp, 4
mov dword [ebp - 0x24], eax
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 3
lea edx, [edi - 0x10]
mov dword [ebp - 0x10], ecx
or ebx, 0xffffffff
mov dword [ebp - 0x1c], edx
cmp ecx, edx
je 0x4345b5
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x4345a3
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4345a0
push ecx
call fcn.00403750
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x434598
mov ecx, dword [ebp - 0x1c]
push ecx
mov ebx, dword [ecx]
mov edx, dword [ebx]
mov edi, dword [edx + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x20]
or ebx, 0xffffffff
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
jmp 0x4345b2
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.004038a0
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4345e0
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x613aec]
mov ecx, dword [ebp - 0x20]
call ebx
or ebx, 0xffffffff
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x434604
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00403840
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
call fcn.005e101c
add esp, 4
test eax, eax
jne 0x43465a
mov eax, dword [ebp - 0x20]
fild dword [ebp - 0x20]
test eax, eax
jns 0x434624
fadd qword [0x6769b8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x676900]
fnstcw word [ebp - 0xe]
movzx eax, word [ebp - 0xe]
or eax, 0xc00
mov dword [ebp - 0x24], eax
fmul qword [0x6769b0]
fldcw word [ebp - 0x24]
fistp qword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
fldcw word [ebp - 0xe]
wait
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
jmp 0x434677
push 0
call fcn.005e1064
push eax
call fcn.005e0c1f
add esp, 8
call fcn.005e0bfe
cdq
mov ecx, 0x7fff
idiv ecx
mov eax, dword [ebp + 8]
push esi
push edx
push str.ssmXXXXX
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push dword [esi - 8]
push esi
call fcn.005dafda
add esp, 8
test eax, eax
js 0x4348fa
cmp eax, dword [esi - 8]
jg 0x4348fa
mov dword [esi - 0xc], eax
lea ecx, [ebp - 0x14]
mov byte [eax + esi], 0
mov eax, dword [esi - 0xc]
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404340
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x434725
cmp dword [esi + 0xc], 0
jl 0x434719
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x434719
push edx
call fcn.00403750
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434711
mov ebx, dword [esi]
push esi
mov edx, dword [ebx]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x24]
or ebx, 0xffffffff
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x434725
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004038a0
mov byte [ebp - 4], 2
mov eax, ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x434752
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
or ebx, 0xffffffff
push 0x2e
push edi
call fcn.005daaeb
add esp, 8
test eax, eax
jne 0x434766
or eax, 0xffffffff
jmp 0x434768
sub eax, edi
lea ecx, [eax + 1]
mov eax, dword [edi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004031e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
push dword [esi - 0xc]
push esi
call fcn.00404470
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4347b8
mov ebx, dword [esi]
push esi
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push 0
push 0x8040
push dword [ebx + 0x1c]
call fcn.004874d0
test eax, eax
jne 0x4347e0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], 3
jmp 0x43487e
push ecx
mov ebx, esp
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x14]
lea eax, [esi - 0x10]
push eax
call fcn.00403750
add eax, 0x10
add esp, 4
mov dword [ebx], eax
lea eax, [ebp - 0x40]
mov ebx, dword [ebp + 8]
push dword [ebx + 0x14]
mov ecx, dword [ebx]
push eax
call fcn.00422320
lea ecx, [ebp - 0x40]
call fcn.004871f0
mov ecx, dword [esi - 0xc]
test ecx, ecx
js 0x4348fa
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x43483b
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403840
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 0x18]
mov ecx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x434840
push dword [esi - 8]
push esi
call fcn.005dafda
add esp, 8
test eax, eax
js 0x4348fa
cmp eax, dword [esi - 8]
jg 0x4348fa
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, 1
mov dword [ebp - 0x10], 5
mov dword [ebx + 0x24], 1
lea ecx, [ebp - 0x40]
mov dword [ebx + 0x28], eax
call fcn.00486f10
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4348b8
mov ebx, dword [esi]
push esi
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4348e3
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402cb0
push 0x80004005
call fcn.00402cb0
push 0x80004005
call fcn.00402cb0
call fcn.00486c16
int3