joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443b6c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x443b88
cmp dword [esi + 4], 0
je 0x443bb5
test byte [ebx + 0x55], 1
jne 0x443ba7
mov eax, ebx
call fcn.00441f54
test eax, eax
jne 0x443ba7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x443cc5
mov edx, esi
mov eax, ebx
call fcn.00443574
jmp 0x443cc5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x443cbe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445bc4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043f37c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00443b6c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445bc4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443cc5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44af48
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46d3c0]
cmp byte [eax + 0xc], 0
je 0x44b0b5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b0ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471574], 0
jne 0x44af9c
push 0x44b0bc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44b0c4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471574], eax
cmp dword [0x46c664], 0
jne 0x44b097
push 0x44b0d4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46c664], eax
cmp dword [0x46c664], 0
je 0x44b097
push 0x44b0e0
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471578], eax
push 0x44b0f0
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47157c], eax
push 0x44b104
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471580], eax
push 0x44b11c
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471584], eax
push 0x44b134
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471588], eax
push 0x44b148
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47158c], eax
push 0x44b160
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471590], eax
push 0x44b178
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471594], eax
push 0x44b194
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471598], eax
push 0x44b1a0
mov eax, dword [0x46c664]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47159c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b0b5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x450724
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450778]
test si, 4
je 0x450739
or bl, 1
test si, 8
je 0x450743
or bl, 4
test si, 1
je 0x45074d
or bl, 8
test si, 2
je 0x450757
or bl, 0x10
test si, 0x10
je 0x450761
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450770
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45077c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4507b8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450796
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4507a5
or bl, 4
test esi, 0x20000000
je 0x4507b0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457e6c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x457e7e
add esp, 0xfffffff0
call fcn.00403bac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bb9c
mov eax, dword [0x46cf2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458210
mov eax, dword [0x46cf3c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45821c
mov eax, ebx
call fcn.00458228
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x453cc0
push eax
push 0
push 0
mov eax, dword [0x46d118]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f6c8]
call fcn.00420f1c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f6c8]
call fcn.00420f1c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f6c8]
call fcn.00420f1c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458658
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458528
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458528
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458528
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457fbb
call fcn.00403c04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45830c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4584b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458498
mov dl, 1
mov eax, dword [0x412e54]
call fcn.00403858
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404768
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458487
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044b2a4
test al, al
je 0x45847a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4584c8
lea eax, [ebp - 0x254]
call fcn.00409890
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45847a
xor eax, eax
push ebp
push 0x458473
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x458500
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45845c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049d8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45845c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45847a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45837d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004173d0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4584be
lea eax, [ebp - 0x260]
call fcn.00404768
ret

Function at 0x458e30
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4715ac]
cmp byte [eax + 0xad], 0
jne 0x458ea1
cmp dword [0x4715c4], 0
jne 0x458e62
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458dec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4715c4], eax
cmp dword [0x4715c0], 0
jne 0x458e7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4715c0], eax
cmp dword [0x4715c8], 0
jne 0x458ea1
push esp
push 0
push 0
push 0x458d90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4715c8], eax
pop edx
ret
Function at 0x459074
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45908b
add esp, 0xfffffff0
call fcn.00403bac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bb9c
mov eax, dword [0x46d0f8]
cmp word [eax + 2], 0
jne 0x4590b3
mov eax, dword [0x46d0f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ab3c
mov eax, dword [0x46d1f8]
cmp word [eax + 2], 0
jne 0x4590cd
mov eax, dword [0x46d1f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ad48
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4127e8]
call fcn.00403858
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4201d8]
call fcn.00427804
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x459284
mov eax, dword [0x46cfc0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427bd8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b408
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46cfc0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d190
test eax, eax
je 0x4591d4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409248
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1c4
test eax, eax
je 0x4591e8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049d8
mov byte [ebx + 0xd4], 0
push ebx
push 0x45a684
call fcn.0041cd18
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46ce0c]
cmp byte [eax], 0
jne 0x459239
mov eax, ebx
call fcn.004593c8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045b5e4
mov eax, ebx
call fcn.0045c144
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459279
call fcn.00403c04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459648
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4715ac]
cmp dword [eax + 0x30], 0
je 0x4596f2
cmp dword [ebx + 0x94], 0
jne 0x4596ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4595d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4596ec
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4596b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4596ec
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414e80
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4596c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a40c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45a441
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404858
jmp 0x45a44e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b7c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b836
mov eax, esi
call fcn.00445f64
test al, al
je 0x45b836
mov eax, dword [ebx + 0x84]
call fcn.00445bc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b836
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45b82a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445bc4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043dfe4
jmp 0x45b836
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045b604
pop esi
pop ebx
ret

Function at 0x460240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4602b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.00404eb4
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x46027a
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx]
call fcn.00404c2c
push eax
push esi
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
xchg edx, eax
call fcn.00404eb4
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00460140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4602b7
lea eax, [ebp - 8]
call fcn.00404768
ret
Function at 0x43e000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x43e018
xor eax, eax
jmp 0x43e044
push 0x101c
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x43e02d
xor eax, eax
jmp 0x43e044
mov eax, 0x40b3e8
sub eax, 0x51615
mov dword [0x401750], eax
mov eax, dword [0x401750]
add eax, 4
pop ebp
ret
Function at 0x433d90
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x401306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x20
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4012c0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x24]
push eax
push 0x432694
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0x80000001
call fcn.00432270
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 4
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 1
push 0
push 0x4326fc
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.004322fc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004322b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x433eb3
jmp 0x433eb2
ret
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40147d
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 0x11c]
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x116]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x11c], 0xa
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
movsx eax, byte [ebp - 0x116]
sub esp, 0x14
leave
sub eax, 0x41
ret

Function at 0x4014d9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.0040147d
mov dword [esp], 0x4015b0
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x402012
sub eax, 0x4015b0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x40157a
mov dword [esp], ebx
lea esi, [ebp - 0x88]
call fcn.004013a1
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00401404
lea eax, [ebx + 0x1b800]
test ebx, ebx
lea edx, [eax + eax]
mov ecx, 0x40300c
mov dword [esp + 8], esi
cmovne eax, edx
sar ebx, cl
sub ecx, ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00401d15
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x403b30
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [0x48a408]
mov eax, ecx
sub eax, dword [0x48a404]
sar eax, 2
test eax, eax
je 0x403b73
mov dword [esp], 0x40d87ae1
cmp ecx, dword [0x48a40c]
je 0x403b64
mov dword [ecx], 0x40d87ae1
add dword [0x48a408], 4
jmp 0x403b73
lea eax, [esp]
push eax
push ecx
mov ecx, 0x48a404
call fcn.004014c0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push str.This_is_a_firewall_protection
call fcn.00403cb0
add esp, 4
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
push 0
push 0
call dword [sym.imp.GDI32.dll_PaintRgn]
push 0
push 0
call dword [sym.imp.GDI32.dll_InvertRgn]
push 8
call fcn.00405de9
mov esi, eax
add esp, 4
test esi, esi
je 0x403bf2
push 4
call fcn.00405de9
add esp, 4
test eax, eax
je 0x403bd0
mov dword [eax], 0x403010
jmp 0x403bd2
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x401630
push 0
push 0
call fcn.0040e5cc
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x403c58
jmp 0x403bf4
xor esi, esi
push 4
call fcn.00405de9
mov edi, eax
add esp, 4
test edi, edi
je 0x403c30
mov dword [edi], esi
cmp dword [esi + 4], 0
je 0x403c65
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x403c6c
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00403e9c
add esp, 0xc
test eax, eax
jne 0x403c73
mov dword [esi], eax
mov dword [esi + 4], eax
jmp 0x403c32
xor edi, edi
test esi, esi
je 0x403c47
cmp dword [esi + 4], 0
jne 0x403c7a
push 8
push esi
call fcn.00405e19
add esp, 8
push 4
push edi
call fcn.00405e19
add esp, 8
xor eax, eax
pop edi
pop esi
pop ecx
ret
push 6
mov dword [edi], 0
call fcn.00403fdc
push 1
call fcn.00403fdc
push 5
call fcn.00403fdc
push 2
call fcn.00403fdc
call fcn.0040e434
int3
Function at 0x10001e80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048ae9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1005f1bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movzx eax, byte [esi + 0x4f]
mov ecx, edi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.100019f0
movzx eax, byte [esi + 0x10]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x15]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 2]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x1e]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x36]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x28]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x10]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x24]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x30]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x28]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x10]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x38]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x24]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x35]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x27]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x41]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 0x41]
mov ecx, edi
push eax
call fcn.100019f0
movzx eax, byte [esi + 3]
push eax
mov ecx, edi
call fcn.100019f0
movzx ecx, byte [esi + 0x11]
push ecx
mov ecx, edi
call fcn.100019f0
movzx ecx, byte [esi + 0xa]
push ecx
mov ecx, edi
call fcn.100019f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4