Function at 0x410cd0
Capabilities:
Access peb ldr_data
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47548a
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x49eef8]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x14c]
xor esi, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], esi
push 0x47dd68
lea ecx, [esp + 0x18]
mov dword [esp + 0x148], esi
call fcn.004062a0
push 0x104
lea eax, [esp + 0x38]
push esi
push eax
mov byte [esp + 0x150], 1
mov dword [esp + 0x34], 0x104
call sub.MSVCR90.dll_memset
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x49f474
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
mov byte [esp + 0x144], 2
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x150]
push ecx
lea edx, [esp + 0x28]
push str._sAutorun.inf
push edx
mov byte [esp + 0x150], 3
call fcn.00402e10
mov ebx, dword [esp + 0x30]
add esp, 0xc
push esi
push 0x80
push 3
push esi
push esi
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410eb0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401510
add eax, 0x10
mov dword [ebp], eax
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0x144], 2
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410e0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x144], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410e2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x144], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410e56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x150]
add eax, 0xfffffff0
mov dword [esp + 0x144], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410e84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00472076
add esp, 0x134
ret 8
mov edx, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.00407fb0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x20]
xor edi, edi
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 0xc]
mov byte [esp + 0x144], 4
test edi, edi
jl 0x41106c
cmp edi, eax
jge 0x41106c
lea ecx, [ebx + edi*2]
push 0xa
push ecx
call dword [sym.imp.MSVCR90.dll_wcschr]
add esp, 8
test eax, eax
je 0x41106c
sub eax, ebx
sar eax, 1
mov ebp, eax
js 0x41106c
mov edx, ebp
sub edx, edi
push edx
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407760
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 5
call fcn.004043f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x144], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x410fac
push edi
lea ecx, [esp + 0x1c]
call fcn.00401ea0
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call dword [sym.imp.MSVCR90.dll__wcsupr_s]
add esp, 8
test edi, edi
jl 0x411152
cmp edi, dword [esi - 8]
jg 0x411152
xor edx, edx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], dx
cmp dword [esi - 0xc], edx
jl 0x410ff2
push str.OPEN
push esi
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x410ff2
sub eax, esi
sar eax, 1
jns 0x411022
lea eax, [esi - 0x10]
lea edi, [ebp + 1]
mov byte [esp + 0x144], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ee3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x410ee3
push 5
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.00407e00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 6
call fcn.004043f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x144], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41106c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x144], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411090
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401510
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x144], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x144], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x144], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41111d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x150]
add eax, 0xfffffff0
mov dword [esp + 0x144], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41114b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x410e86
push 0x80070057
call fcn.00401120
int3