Function at 0x10002bf0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6d4
mov eax, dword [0x1001803c]
xor eax, esp
mov dword [esp + 0x6d0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
mov ebx, ecx
push 0x80000000
push ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x10002deb
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x30]
push edx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100036a7
xor edi, edi
mov edx, ebx
mov dword [esp + 0x18], edi
call fcn.10005cb0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
cmp al, 0x4d
jne 0x10002c90
cmp ah, 0x5a
jne 0x10002d3a
mov edi, 1
jmp 0x10002d36
cmp al, 0x4c
jne 0x10002cb7
test ah, ah
jne 0x10002d3a
cmp byte [esp + 0x26], ah
jne 0x10002d3a
cmp byte [esp + 0x27], ah
jne 0x10002d3a
mov edi, 4
jmp 0x10002d36
cmp al, 0x49
jne 0x10002cd5
cmp ah, 0x54
jne 0x10002d3a
cmp byte [esp + 0x26], 0x53
jne 0x10002d3a
cmp byte [esp + 0x27], 0x46
jne 0x10002d3a
mov edi, 6
jmp 0x10002d36
cmp al, 0x58
jne 0x10002cf3
cmp ah, 0x35
jne 0x10002d3a
cmp byte [esp + 0x26], 0x4f
jne 0x10002d3a
cmp byte [esp + 0x27], 0x21
jne 0x10002d3a
mov edi, 7
jmp 0x10002d36
cmp al, 0xff
jne 0x10002cfe
cmp ah, 0xfe
je 0x10002d31
jmp 0x10002d3a
cmp al, 0xfe
jne 0x10002d09
cmp ah, 0xff
je 0x10002d31
jmp 0x10002d3a
cmp al, 0xef
jne 0x10002d1b
cmp ah, 0xbb
jne 0x10002d3a
cmp byte [esp + 0x26], 0xbf
je 0x10002d31
jmp 0x10002d3a
test al, al
jne 0x10002d3a
test ah, ah
jne 0x10002d3a
cmp byte [esp + 0x26], 0xfe
jne 0x10002d3a
cmp byte [esp + 0x27], 0xff
jne 0x10002d3a
mov edi, 0xa
mov dword [esp + 0x18], edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jbe 0x100036a7
xor eax, eax
mov dword [esp + 0x1c], eax
cmp edi, 1
jne 0x10003738
push ebx
push str.Scanned___s
mov ecx, 0x12c
lea ebx, [esp + 0x488]
call fcn.10001120
add esp, 8
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.10004d10
mov ecx, dword [esp + 0x3c]
add ecx, 0xc00
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
cmp eax, 9
jne 0x10002ddf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x54]
mov eax, dword [edx*4 + 0x1001a3c8]
push eax
mov edi, dword [esp + 0x24]
push 0x10016040
mov ecx, 0x40
call fcn.100010c0
mov eax, 0x21
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x10002e02
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
cmp eax, 0xb
jne 0x10002e15
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Worm.Shortcut.C
jmp 0x10002daf
cmp eax, 0xc
jne 0x10002e28
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Magadan
jmp 0x10002daf
cmp eax, 0x11
jne 0x10002e4e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x50], 4
mov eax, str.FakeFile.B
je 0x10002dae
mov eax, str.FakeFile.A
jmp 0x10002dae
mov ecx, dword [esp + 0x4c]
test eax, eax
jne 0x10003033
cmp dword [esp + 0x40], 0x800
jbe 0x10002f7e
cmp ecx, 1
je 0x10002e76
cmp ecx, 2
jne 0x10002f7e
test byte [esp + 0x38], 2
je 0x10002f7e
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
lea esi, [ecx + edx - 0x800]
sub eax, esi
mov edi, 0x800
cmp eax, 0x800
ja 0x10002ea4
mov edi, eax
push edi
call fcn.1000667a
add esp, 4
push 0
push 0
mov ebx, eax
mov eax, dword [esp + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10002ec8
xor edi, edi
jmp 0x10002ee4
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esp + 0xc], 0x800
jb 0x10002f6d
mov ecx, dword [esp + 0x4c]
mov eax, dword [0x1001a2f8]
mov esi, dword [0x1001a344]
shl ecx, 4
mov dword [esp + 0x30], 1
lea ebx, [ecx + eax - 0xc]
sub esi, eax
mov edi, edi
mov edx, dword [esi + ebx]
mov eax, dword [ebx]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
mov eax, edi
call fcn.10005be0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10002f6d
mov eax, dword [esp + 0x30]
inc eax
add ebx, 4
mov dword [esp + 0x30], eax
cmp eax, 4
jbe 0x10002f10
push edi
call fcn.10006605
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x4c], 1
mov eax, str.Conficker.C
je 0x10002dae
mov eax, str.Conficker.B
jmp 0x10002dae
push edi
call fcn.10006605
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 0x2800
ja 0x1000303c
test byte [esp + 0x38], 2
je 0x1000303c
push eax
call fcn.1000667a
add esp, 4
push 0
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10002fb9
xor edi, edi
jmp 0x10002fd5
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
mov eax, dword [esp + 0xc]
cmp eax, 0x800
jb 0x10003024
push eax
push edi
mov ebx, str.INTEL_CEDR_STORE
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003024
mov edx, dword [esp + 0xc]
push edx
push edi
mov ebx, str.TION_PATH
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003024
push edi
call fcn.10006605
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Ramnit.CPL
jmp 0x10002daf
push edi
call fcn.10006605
mov ecx, dword [esp + 0x50]
add esp, 4
jmp 0x1000303c
cmp eax, 6
jne 0x100032ec
cmp ecx, 5
je 0x1000304a
cmp ecx, 4
jne 0x100032ec
test byte [esp + 0x38], 2
jne 0x100032ec
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp eax, 5
jne 0x10003130
mov edi, dword [esp + 0x40]
test edi, edi
je 0x1000307e
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x3c]
cmp eax, edi
ja 0x10003086
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 0x3c]
push edi
call fcn.1000667a
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
add esp, 4
push 0
push 0
push ecx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100030ae
xor edi, edi
jmp 0x100030c6
push 0
lea edx, [esp + 0x10]
push edx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
mov ebx, dword [esp + 0xc]
cmp ebx, 0x1e
jbe 0x100031e7
mov esi, dword [0x1001a344]
mov eax, dword [esi + 0x24]
mov ecx, dword [0x1001a2f8]
mov edx, dword [ecx + 0x24]
push eax
push edx
push ebx
mov eax, edi
call fcn.10005be0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100031e7
mov eax, dword [esi + 0x28]
mov ecx, dword [0x1001a2f8]
mov edx, dword [ecx + 0x28]
push eax
push edx
push ebx
mov eax, edi
call fcn.10005be0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100031e7
mov dword [esp + 0x18], 4
jmp 0x100031e7
cmp eax, 4
jne 0x100031f4
test edi, edi
je 0x10003147
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, edi
ja 0x1000314d
mov edi, dword [esp + 0x14]
sub edi, esi
push edi
call fcn.1000667a
mov ecx, dword [esp + 0x14]
add esp, 4
push 0
push 0
push esi
push ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10003171
xor edi, edi
jmp 0x1000318d
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x10]
push edx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esp + 0xc], 0x1e
jbe 0x100031e7
mov eax, dword [0x1001a2f8]
mov esi, dword [0x1001a344]
mov dword [esp + 0x30], 1
lea ebx, [eax + 0x2c]
sub esi, eax
lea esp, [esp]
mov ecx, dword [ebx + esi]
mov edx, dword [ebx]
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
mov eax, edi
call fcn.10005be0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100031e7
mov eax, dword [esp + 0x30]
inc eax
add ebx, 4
mov dword [esp + 0x30], eax
cmp eax, 4
jbe 0x100031b0
mov dword [esp + 0x18], 7
push edi
call fcn.10006605
mov edi, dword [esp + 0x4c]
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x100032ec
cmp edi, 0x80
jbe 0x100032ec
cmp edi, 0x400
jb 0x10003218
mov edi, 0x400
mov esi, dword [esp + 0x44]
sub esi, edi
add esi, dword [esp + 0x48]
test edi, edi
je 0x10003230
mov ecx, dword [esp + 0x14]
sub ecx, esi
cmp ecx, edi
ja 0x10003236
mov edi, dword [esp + 0x14]
sub edi, esi
push edi
call fcn.1000667a
mov edx, dword [esp + 0x14]
add esp, 4
push 0
push 0
push esi
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000325a
xor edi, edi
jmp 0x10003276
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x10]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
mov edx, dword [str.PADDING]
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x31], eax
mov word [esp + 0x35], ax
mov byte [esp + 0x37], al
mov eax, dword [0x10016184]
push 7
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x84], eax
push esi
mov eax, edi
mov byte [esp + 0x3c], 0
mov dword [esp + 0x84], edx
call fcn.10005be0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100032e3
push 7
lea edx, [esp + 0x7c]
push edx
push esi
mov eax, edi
call fcn.10005be0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100032e3
mov dword [esp + 0x18], 1
push edi
call fcn.10006605
add esp, 4
cmp dword [esp + 0x14], 0x2800
mov edi, 0x2800
jae 0x100032ff
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ebx, eax
sub ebx, edi
test edi, edi
je 0x10003313
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
ja 0x10003317
mov edi, eax
sub edi, ebx
push edi
call fcn.1000667a
mov edx, dword [esp + 0x14]
add esp, 4
push 0
push 0
push ebx
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10003341
mov dword [esp + 0x30], 0
jmp 0x1000335f
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x10]
push eax
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, esi
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0xc]
cmp ebx, 0x400
jb 0x1000341f
test byte [esp + 0x38], 2
jne 0x1000341f
mov edx, dword [esp + 0x30]
lea esi, [edx + ebx - 0x400]
mov ecx, 0x100
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov edi, 0x400
lea edx, [esp + 0x80]
call fcn.10005910
mov esi, eax
test esi, esi
je 0x1000341f
mov eax, edx
push esi
push eax
mov ebx, str.Word.Document
call fcn.10005ab0
add esp, 8
test eax, eax
jne 0x10003411
lea ecx, [esp + 0x80]
push esi
push ecx
mov ebx, str.Microsoft_Office_Word_Document
call fcn.10005ab0
add esp, 8
test eax, eax
jne 0x10003411
lea edx, [esp + 0x80]
push esi
push edx
mov ebx, str.Excel.Sheet
call fcn.10005ab0
add esp, 8
test eax, eax
jne 0x10003411
lea eax, [esp + 0x80]
push esi
push eax
mov ebx, str.Microsoft_Office_Excel_Worksheet
call fcn.10005ab0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1000341b
mov dword [esp + 0x18], 5
jmp 0x10003463
mov ebx, dword [esp + 0xc]
cmp dword [esp + 0x18], 0
jne 0x10003463
test byte [esp + 0x38], 2
jne 0x10003463
cmp ebx, 0x1e
jbe 0x10003454
mov ecx, dword [0x1001a344]
mov edx, dword [ecx]
mov eax, dword [0x1001a2f8]
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
push edx
push ecx
push ebx
call fcn.10005be0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x10003463
mov dword [esp + 0x18], 3
mov edx, dword [esp + 0x30]
push edx
call fcn.10006605
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 0x1000]
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ecx
jb 0x100036a7
mov esi, dword [esp + 0x10]
xor edi, edi
cmp dword [0x1001a0d0], edi
jbe 0x100034c8
lea ebx, [eax - 1]
jmp 0x100034a0
mov edx, dword [0x1001a334]
mov eax, dword [edx + edi*4]
add eax, 0x20
cmp eax, ebx
ja 0x100034bf
mov ecx, esi
call fcn.10002b50
test eax, eax
jne 0x100035e4
inc edi
cmp edi, dword [0x1001a0d0]
jb 0x100034a0
mov ecx, dword [esp + 0x28]
xor edi, edi
push edi
mov edx, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], edi
call fcn.100028a0
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
cmp ebx, edi
je 0x100036a7
cmp dword [0x1001a330], edi
jbe 0x10003623
lea ebx, [edi + 1]
xor esi, esi
mov ecx, dword [0x1001a338]
mov edx, dword [esp + 0x14]
cmp dword [esi + ecx], edx
jne 0x1000357a
test edi, edi
jne 0x1000352f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 1
call fcn.100028a0
mov edi, eax
add esp, 4
test edi, edi
je 0x100036a7
mov eax, dword [0x1001a32c]
cmp dword [esi + eax], edi
jne 0x1000357a
mov ecx, dword [0x1001a0c4]
cmp dword [esi + ecx], 0
je 0x10003576
cmp dword [esp + 0x30], 0
jne 0x10003568
mov edx, dword [esp + 0x10]
push 2
xor ecx, ecx
call fcn.100028a0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x100036a7
mov edx, dword [esp + 0x30]
mov eax, dword [0x1001a0c4]
cmp dword [esi + eax], edx
jne 0x1000357a
mov dword [esp + 0x1c], ebx
inc ebx
lea ecx, [ebx - 1]
add esi, 4
cmp ecx, dword [0x1001a330]
jb 0x10003500
cmp dword [esp + 0x1c], 0
jbe 0x1000361f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1001a340]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push 2
push edx
mov edx, dword [0x1001a300]
mov ebx, dword [edx + eax*4 - 4]
push ecx
call fcn.10002380
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x20]
mov eax, dword [0x1001a0e4]
mov esi, dword [esp + 0x18]
mov ebx, dword [eax + edi*4]
push 2
push 2
push edx
call fcn.10002380
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x14]
xor esi, esi
cmp dword [esi*4 + 0x1001a400], ebx
jne 0x1000365a
test edi, edi
jne 0x1000364a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 1
call fcn.100028a0
mov edi, eax
add esp, 4
test edi, edi
je 0x100036a7
cmp dword [esi*4 + 0x1001a440], edi
jne 0x1000365a
lea eax, [esi + 1]
mov dword [esp + 0x1c], eax
inc esi
cmp esi, 0x10
jb 0x10003625
cmp dword [esp + 0x1c], 0
je 0x100036c9
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebx, dword [ecx*4 + 0x1001a344]
push 2
push 6
push eax
call fcn.10002380
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
push 1
push edi
mov ecx, ebx
call fcn.100024f0
mov edx, dword [esp + 0x18]
mov esi, eax
add esp, 8
test esi, esi
je 0x10003706
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push edx
push edi
call fcn.10002760
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
cmp edi, 7
jne 0x100037f9
mov edi, 0x400
cmp ecx, 0x400
ja 0x10003750
mov edi, ecx
push edi
call fcn.1000667a
add esp, 4
push 0
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10003771
xor edi, edi
jmp 0x1000379a
push 0
lea eax, [esp + 0x10]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10003789
xor edi, edi
jmp 0x1000379a
mov edi, dword [esp + 0xc]
mov edx, ebx
call fcn.100059a0
mov dword [esp + 0xc], eax
mov edi, ebx
mov ecx, dword [esp + 0xc]
push ecx
push edi
mov ebx, str.eicar
call fcn.10005ab0
push edi
mov ebx, eax
call fcn.10006605
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x10002deb
push str.EICAR_AV_Test
mov edi, dword [esp + 0x24]
push 0x10016040
mov ecx, 0x40
call fcn.100010c0
mov eax, 0x29
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
cmp edi, 4
jne 0x10003ae3
mov edi, 0x2800
cmp ecx, 0x2800
ja 0x10003811
mov edi, ecx
push edi
call fcn.1000667a
add esp, 4
push 0
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10003832
xor edi, edi
jmp 0x1000385b
push 0
lea edx, [esp + 0x10]
push edx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000384a
xor edi, edi
jmp 0x1000385b
mov edi, dword [esp + 0xc]
mov edx, ebx
call fcn.100059a0
mov dword [esp + 0xc], eax
mov edi, ebx
mov eax, dword [esp + 0xc]
push eax
push edi
mov ebx, str.thumb.db
xor esi, esi
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x1000387e
mov esi, str.Yuyun.Shortcut
jmp 0x10003a9d
mov ecx, dword [esp + 0xc]
push ecx
push edi
mov ebx, str.thumbs.db
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x1000389f
mov esi, str.AlbumBokep.Shortcut
jmp 0x10003a9d
mov edx, dword [esp + 0xc]
push edx
push edi
mov ebx, 0x1001623c
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x100038c0
mov esi, str.VideoFake.Shortcut
jmp 0x10003a9d
mov eax, dword [esp + 0xc]
push eax
push edi
mov ebx, str.e:VBScript
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x100038e1
mov esi, str.Serviks.Shortcut
jmp 0x10003a9d
mov ecx, dword [esp + 0xc]
push ecx
push edi
mov ebx, str.WTR
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003902
mov esi, str.Stuxnet.Shortcut
jmp 0x10003a9d
mov edx, dword [esp + 0xc]
push edx
push edi
mov ebx, str.fanny.bmp
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003923
mov esi, str.Fanny.Shortcut
jmp 0x10003a9d
mov eax, dword [esp + 0xc]
push eax
push edi
mov ebx, str.mso.sys
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003944
mov esi, str.MSO.Shortcut
jmp 0x10003a9d
mov ecx, dword [esp + 0xc]
push ecx
push edi
mov ebx, str.start__cd_RECYCLER_
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003965
mov esi, str.Recycler.Shortcut
jmp 0x10003a9d
cmp dword [esp + 0x14], 0xa1
mov edx, dword [esp + 0xc]
jne 0x100039a4
mov byte [edi + edx], 0
mov eax, dword [esp + 0xc]
lea ecx, [edi + eax - 4]
push ecx
mov eax, str..DLL
mov ecx, 5
call fcn.10006100
add esp, 4
test eax, eax
je 0x10003a9d
mov esi, str.ShellHole.Shortcut.A
jmp 0x10003a9d
push edx
push edi
mov ebx, str._systemroot__system32_shell32.dll
call fcn.10005ab0
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
je 0x100039ec
mov byte [edi + eax], 0
mov ecx, dword [esp + 0xc]
lea edx, [edi + ecx - 0xc]
push edx
mov eax, str.SHELL32.DLL
mov ecx, 0xd
call fcn.10006100
add esp, 4
test eax, eax
je 0x10003a9d
mov esi, str.ShellHole.Shortcut.B
jmp 0x10003a9d
push eax
push edi
mov ebx, str.Microsoft_Windows._Microsoft_Corporation
call fcn.10005ab0
add esp, 8
mov ebx, str..cpl
test eax, eax
je 0x10003a21
mov ecx, dword [esp + 0xc]
push ecx
push edi
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003a9d
mov esi, str.Ramnit.Shortcut
jmp 0x10003a9d
mov edx, dword [esp + 0xc]
push edx
push edi
call fcn.10005ab0
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
je 0x10003a61
mov byte [edi + eax], 0
mov ecx, dword [esp + 0xc]
lea edx, [edi + ecx - 4]
push edx
mov eax, str..cpl
mov ecx, 5
call fcn.10006100
add esp, 4
test eax, eax
je 0x10003a9d
mov esi, str.Ramnit_like.Shortcut
jmp 0x10003a9d
push eax
push edi
mov ebx, str..tmp
call fcn.10005ab0
add esp, 8
test eax, eax
je 0x10003a9d
mov ecx, dword [esp + 0xc]
mov byte [edi + ecx], 0
mov edx, dword [esp + 0xc]
lea eax, [edi + edx - 4]
push eax
mov eax, ebx
mov ecx, 5
call fcn.10006100
add esp, 4
test eax, eax
je 0x10003a9d
mov esi, str.Stuxnet_like.Shortcut
push edi
call fcn.10006605
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10003abb
push esi
jmp 0x100037c9
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push 4
push edx
call fcn.100024f0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x28], eax
mov eax, edi
sub eax, 0xa
neg eax
sbb eax, eax
and eax, 0xfffffbf0
add eax, 0x810
je 0x10003b02
mov ebx, eax
cmp ecx, eax
ja 0x10003b04
mov ebx, ecx
push ebx
call fcn.1000667a
add esp, 4
push 0
push 0
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10003b25
xor esi, esi
jmp 0x10003b3f
push 0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
mov edi, dword [esp + 0x28]
mov edx, esi
call fcn.10005910
push eax
push esi
mov ebx, str.ADSUTIL.VBS
mov dword [esp + 0x30], eax
call fcn.10005ab0
add esp, 8
test eax, eax
jne 0x10003bc3
xor edi, edi
cmp dword [0x1001a0d8], edi
jbe 0x10003b93
jmp 0x10003b70
mov edx, dword [esp + 0x28]
mov eax, dword [0x1001a33c]
mov ebx, dword [eax + edi*4]
push edx
push esi
call fcn.10005ab0
add esp, 8
test eax, eax
jne 0x10003bee
inc edi
cmp edi, dword [0x1001a0d8]
jb 0x10003b70
mov edi, dword [esp + 0x30]
push edi
mov ebx, 0x100163e4
call fcn.10006050
add esp, 4
test eax, eax
jne 0x10003c55
push edi
mov ebx, 0x100163e8
call fcn.10006050
add esp, 4
test eax, eax
jne 0x10003c55
push esi
call fcn.10006605
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1001a0c8]
mov edx, dword [ecx + edi*4]
push edx
push str.VBS._s
mov ecx, 0x40
lea edi, [esp + 0x40]
call fcn.100010c0
mov eax, dword [esp + 0x18]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.10006605
mov ecx, edi
mov edi, dword [esp + 0x24]
add esp, 4
push ecx
push 0x10016040
mov ecx, 0x40
call fcn.100010c0
mov eax, 0x24
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
push 3
push eax
mov ecx, edi
call fcn.100024f0
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
test esi, esi
je 0x10003c92
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
sub eax, 0xa
neg eax
sbb eax, eax
and eax, 0xfffffff9
add eax, 0xa
push eax
push edi
call fcn.10003ff0
mov ecx, dword [esp + 0x6e4]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100065f6
mov esp, ebp
pop ebp
ret