joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b4e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b4f7
add esp, 0xfffffff0
call fcn.004039fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004195bc
mov eax, dword [0x4c70dc]
cmp word [eax + 2], 0
jne 0x44b51f
mov eax, dword [0x4c70dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044cbb8
mov eax, dword [0x4c7184]
cmp word [eax + 2], 0
jne 0x44b539
mov eax, dword [0x4c7184]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044cdb0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4118b4]
call fcn.004036c0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4118b4]
call fcn.004036c0
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b790]
call fcn.004213d8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b6c0
mov eax, dword [0x4c7000]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004217a8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44d350
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c7000]
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.0040c458
test eax, eax
je 0x44b62e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408810
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c480
test eax, eax
je 0x44b642
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404698
mov eax, dword [0x4c6f04]
cmp byte [eax], 0
jne 0x44b676
mov eax, ebx
call fcn.0044b7e8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044d52c
mov eax, ebx
call fcn.0044def0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b6b6
call fcn.00403a54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ba68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c8bb0]
cmp dword [eax + 0x30], 0
je 0x44bb12
cmp dword [ebx + 0x94], 0
jne 0x44bb0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b9f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44bb0c
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 0x44bad2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44bb0c
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.00413c1c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44bae1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c674
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44c6a9
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.00404518
jmp 0x44c6b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040447c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d708
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d749
mov eax, esi
call fcn.00433f8c
test al, al
je 0x44d749
mov eax, dword [ebx + 0x84]
call fcn.00433d2c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d749
push 0
mov eax, dword [ebx + 0x84]
call fcn.00433d2c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44e0d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x44e160
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
push 0x3000
push 0x76198
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
jne 0x44e117
mov ecx, 0x44e184
mov dl, 1
mov eax, dword [0x44dff8]
call fcn.0044e060
call fcn.00403e64
mov edx, dword [0x4c7048]
mov ecx, 0x76198
mov eax, ebx
call fcn.00406cb4
push 0
call sub.kernel32.dll_GetCurrentThread
push eax
push ebx
call sub.kernel32.dll_QueueUserAPC
test eax, eax
jne 0x44e151
mov ecx, 0x44e19c
mov dl, 1
mov eax, dword [0x44dff8]
call fcn.0044e060
call fcn.00403e64
call sub.ntdll.dll_NtTestAlert
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44e176
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x404900
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [section..bss]
cmp word [eax], 0
je 0x404937
push 5
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x10
jne 0x404937
push 9
mov eax, dword [0x412014]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x412014]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
ret

Function at 0x409430
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x1ac]
mov dword [esp + 0x10], eax
mov eax, 0x1388
cmp dword [esp + 0x10], eax
jbe 0x409458
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x11c]
call sub.SV221MN.dll_Ordinal_1660
lea eax, [esp + 0x1c]
push 1
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x24], 4
call sub.SV221MN.dll_Ordinal_76
push eax
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x1c]
push eax
call sub.SV221MN.dll_Ordinal_1620
lea ecx, [esp + 0x18]
call sub.SV221MN.dll_Ordinal_99
lea ecx, [esp + 0x14]
call sub.SV221MN.dll_Ordinal_99
lea ecx, [esp + 0x18]
push 0
call sub.SV221MN.dll_Ordinal_92
push eax
mov ecx, dword [esi + 0x11c]
lea eax, [esp + 0x20]
push eax
call sub.SV221MN.dll_Ordinal_1622
lea ecx, [esp + 0x1c]
call sub.SV221MN.dll_Ordinal_102
lea ecx, [esp + 0x18]
call sub.SV221MN.dll_Ordinal_102
mov di, word [esi + 0x1a4]
lea ecx, [esi + 0x19c]
mov bx, word [esi + 0x1a6]
mov ax, word [esi + 0x1a2]
call fcn.00401410
mov bp, word [esi + 0x1aa]
mov word [esp + 0x18], ax
cmp bp, 0x8001
jne 0x409504
xor bp, bp
jmp 0x409513
sub bp, word [esi + 0x1a6]
jns 0x409511
dec bp
jmp 0x409513
inc bp
lea ecx, [esi + 0x1a4]
call fcn.00401410
mov word [esp + 0x1c], di
mov ecx, 0x1388
movsx eax, word [esp + 0x18]
mov word [esp + 0x1e], bx
sub eax, 8
imul eax, dword [esp + 0x10]
cdq
idiv ecx
test ax, ax
jne 0x40954b
mov word [esp + 0x20], 0x8001
jmp 0x409555
add ax, di
dec ax
mov word [esp + 0x20], ax
test bp, bp
jne 0x409563
mov word [esp + 0x22], 0x8001
jmp 0x40956e
lea eax, [ebp + ebx]
dec ax
mov word [esp + 0x22], ax
lea eax, [esp + 0x1c]
push 0
push 0
mov ecx, dword [esi + 0x11c]
push eax
call sub.SV221MN.dll_Ordinal_1627
mov ecx, dword [esi + 0x11c]
call sub.SV221MN.dll_Ordinal_1658
lea eax, [esi + 0x1a4]
mov ecx, dword [esi + 0x11c]
push eax
call fcn.00404940
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x1ac]
mov ecx, 0x3e8
sub edx, edx
div ecx
cmp eax, 5
jb 0x4095d2
mov ecx, esi
call fcn.0040afb0
mov ecx, esi
call fcn.0040ab00
test al, al
jne 0x4095d2
mov ecx, esi
call fcn.00409360
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x40a1f0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
push ebp
mov ecx, esi
xor bl, bl
lea edi, [esi + 0x13c]
mov byte [esi + 0x1ba], 1
call fcn.00403990
mov ecx, esi
call fcn.004039d0
mov bp, bx
push 0x10
and ebp, 0xffff00ff
mov eax, ebp
and eax, 0xffff
mov cx, word [esi + eax*4 + 0x1e4]
lea eax, [esi + eax*4]
mov ax, word [eax + 0x1e6]
mov word [esp + 0x1c], cx
mov word [esp + 0x1e], ax
mov ax, word [esp + 0x1c]
add ax, 0x24
mov word [esp + 0x20], ax
mov ax, word [esp + 0x1e]
add ax, 0x27
mov word [esp + 0x22], ax
call fcn.0040c3b5
add esp, 4
test eax, eax
je 0x40a27f
lea ecx, [esp + 0x18]
push 3
push 1
push ebp
push ecx
mov ecx, eax
call fcn.00406480
jmp 0x40a281
xor eax, eax
push eax
mov ecx, edi
inc bl
call sub.TL221MN.dll_Ordinal_240
cmp bl, 4
jb 0x40a216
xor cl, cl
cmp word [esi + 0x1be], 0
jle 0x40a308
xor dl, dl
cmp word [esi + 0x1bc], 0
jle 0x40a2f7
mov di, cx
and edi, 0xffff00ff
mov al, dl
inc dl
and eax, 0xffff00ff
movsx ebp, di
mov word [esp + 0x18], ax
mov eax, dword [esi + 0x1c0]
mov word [esp + 0x1a], di
movsx ebx, word [eax + 0xc]
imul ebx, ebp
movsx ebp, word [esp + 0x18]
add ebx, ebp
mov eax, dword [eax + 8]
mov word [eax + ebx*2], 0
mov ebp, edx
movsx ebx, word [esi + 0x1bc]
and ebp, 0xff
cmp ebp, ebx
jl 0x40a2b1
inc cl
xor eax, eax
movsx edx, word [esi + 0x1be]
mov al, cl
cmp eax, edx
jl 0x40a29c
mov ecx, esi
call fcn.0040acf0
movsx eax, word [esi + 0x1be]
movsx ecx, word [esi + 0x1bc]
imul eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov bl, al
test bl, bl
je 0x40a418
call fcn.0040c3ce
cdq
mov ecx, 0xd
idiv ecx
cmp edx, 4
ja case.default.0x40a345
jmp dword [edx*4 + 0x40a474]
call fcn.0040c3ce
cdq
movsx ecx, word [esi + 0x1be]
idiv ecx
mov di, dx
call fcn.0040c3ce
cdq
movsx ecx, word [esi + 0x1bc]
idiv ecx
movsx eax, di
mov ebp, dword [esi + 0x1c0]
movsx edx, dx
movsx ecx, word [ebp + 0xc]
imul ecx, eax
add ecx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], 0x12
jmp 0x40a410
call fcn.0040c3ce
cdq
movsx ecx, word [esi + 0x1be]
idiv ecx
mov di, dx
call fcn.0040c3ce
cdq
movsx ecx, word [esi + 0x1bc]
idiv ecx
movsx eax, di
mov ebp, dword [esi + 0x1c0]
movsx edx, dx
movsx ecx, word [ebp + 0xc]
imul ecx, eax
add ecx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], 0x14
jmp 0x40a410
call fcn.0040c3ce
cdq
movsx ecx, word [esi + 0x1be]
idiv ecx
mov di, dx
call fcn.0040c3ce
cdq
movsx ecx, word [esi + 0x1bc]
idiv ecx
movsx eax, di
mov ebp, dword [esi + 0x1c0]
movsx edx, dx
movsx ecx, word [ebp + 0xc]
imul ecx, eax
add ecx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], 0x13
dec bl
jne 0x40a333
xor bl, bl
call fcn.0040c3ce
cdq
xor eax, edx
xor ecx, ecx
sub eax, edx
mov cl, bl
and eax, 0xf
inc bl
xor eax, edx
sub eax, edx
cmp bl, 4
mov byte [ecx + esi + 0x1d8], al
jb 0x40a41a
mov word [esi + 0x1b8], 0
mov ecx, esi
call fcn.0040b2c0
mov ecx, esi
call fcn.0040b3e0
mov ecx, esi
call sub.SV221MN.dll_Ordinal_1855
mov ecx, esi
call fcn.0040b2c0
mov ecx, esi
call sub.SV221MN.dll_Ordinal_1887
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40c235
Capabilities:
Accept command line arguments
Query environment variable
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413380
push 0x40cfd4
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x4143d4], eax
mov al, ah
and eax, 0xff
mov dword [0x4143e0], eax
mov eax, dword [0x4143d4]
shr dword [0x4143d4], 0x10
and eax, 0xff
mov dword [0x4143dc], eax
shl eax, 8
add eax, dword [0x4143e0]
mov dword [0x4143d8], eax
call fcn.0040cf2a
mov dword [ebp - 4], 0
call fcn.0040ce3c
call fcn.0040ce31
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x412778], eax
call fcn.0040c9a5
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x414390], eax
call fcn.0040c8da
call fcn.0040c59f
mov esi, dword [0x412778]
mov al, byte [esi]
cmp al, 0x22
jne 0x40c2f3
mov al, byte [ebp - 0x28]
inc esi
mov al, byte [esi]
test al, al
je 0x40c2eb
cmp al, 0x22
jne 0x40c2e0
cmp byte [esi], 0x22
jne 0x40c2fd
inc esi
jmp 0x40c2fd
cmp al, 0x20
jbe 0x40c2fd
inc esi
cmp byte [esi], 0x20
ja 0x40c2f7
cmp byte [esi], 0
je 0x40c30d
cmp byte [esi], 0x20
ja 0x40c30d
inc esi
cmp byte [esi], 0
jne 0x40c302
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x40c32d
movzx eax, word [ebp - 0x40]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040c5cf
jmp 0x40c369
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c5f1
Capabilities:
Terminate process

Disassembly:
mov dword [0x41440c], 1
cmp dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x14]
mov byte [0x414408], bl
jne 0x40c64d
cmp dword [0x412774], 0
je 0x40c63b
mov esi, dword [0x412770]
sub esi, 4
cmp dword [0x412774], esi
ja 0x40c63b
mov eax, dword [esi]
test eax, eax
je 0x40c630
call eax
sub esi, 4
cmp dword [0x412774], esi
jbe 0x40c628
push 0x4155c0
push 0x4155bc
call fcn.0040c670
add esp, 8
push 0x4155c8
push 0x4155c4
call fcn.0040c670
add esp, 8
test ebx, ebx
jne 0x40c66d
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret
Function at 0x41052a
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
test esi, esi
je 0x41071a
push 0x3d
push esi
call fcn.004107f4
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x41071a
cmp ebp, esi
je 0x41071a
cmp byte [ebp + 1], 1
sbb eax, eax
mov ecx, dword [0x4143f4]
neg eax
mov dword [esp + 0x10], eax
cmp dword [0x4143f0], ecx
jne 0x410587
mov eax, dword [0x4143f0]
push eax
call fcn.00410784
add esp, 4
mov dword [0x4143f0], eax
cmp dword [0x4143f0], 0
jne 0x410616
cmp dword [esp + 0x1c], 0
je 0x4105b2
cmp dword [0x4143f8], 0
je 0x4105b2
call fcn.0040feef
test eax, eax
je 0x410616
jmp 0x41071a
cmp dword [esp + 0x10], 0
je 0x4105c0
xor eax, eax
jmp 0x41071f
cmp dword [0x4143f0], 0
jne 0x4105eb
push 4
call fcn.0040d0d2
add esp, 4
mov dword [0x4143f0], eax
test eax, eax
je 0x41071a
mov eax, dword [0x4143f0]
mov dword [eax], 0
cmp dword [0x4143f8], 0
jne 0x410616
push 4
call fcn.0040d0d2
add esp, 4
mov dword [0x4143f8], eax
test eax, eax
je 0x41071a
mov eax, dword [0x4143f8]
mov dword [eax], 0
mov edi, dword [0x4143f0]
sub ebp, esi
push ebp
push esi
call fcn.00410727
add esp, 8
mov ebx, eax
test ebx, ebx
jl 0x41066c
cmp dword [edi], 0
je 0x41066c
cmp dword [esp + 0x10], 0
je 0x410667
lea eax, [edi + ebx*4]
cmp dword [eax], 0
je 0x410650
mov ecx, dword [eax + 4]
inc ebx
mov dword [eax], ecx
add eax, 4
cmp dword [eax], 0
jne 0x410642
lea eax, [ebx*4]
push eax
push edi
call fcn.0040d7d3
add esp, 8
test eax, eax
je 0x4106a7
jmp 0x4106a2
mov dword [edi + ebx*4], esi
jmp 0x4106a7
cmp dword [esp + 0x10], 0
jne 0x410716
test ebx, ebx
jge 0x41067d
neg ebx
lea eax, [ebx*4 + 8]
push eax
push edi
call fcn.0040d7d3
add esp, 8
test eax, eax
je 0x41071a
lea ecx, [eax + ebx*4]
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov dword [0x4143f0], eax
cmp dword [esp + 0x1c], 0
je 0x410712
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.0040d0d2
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x410712
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 1
sbb eax, eax
lea ecx, [ebp + ebx]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [ecx], 0
lea ecx, [ecx + 1]
and eax, ecx
push eax
push ebx
call ebp
push ebx
call fcn.0040d2a9
add esp, 4
xor eax, eax
jmp 0x41071f
xor eax, eax
jmp 0x41071f
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4b6151c1
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xeb56b3a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xbc12b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0xbc50a0
push edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
dec dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push dword [esi]
call fcn.00bc11ad
test eax, eax
jne 0xbc1323
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xbc1340
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0xbc1323
cmp dword [ebp - 0x10], 4
jne 0xbc1323
cmp dword [ebp - 8], 1
jne 0xbc1323
cmp dword [esi + 0xc], ebx
je 0xbc136e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0xbc133b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
leave
ret 4
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 4]
mov dword [ebp + 8], ebx
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0xbc1323
mov eax, dword [esi + 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
mov dword [eax + 8], ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
jmp 0xbc1323
Function at 0xbc25d1
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
xor ebx, ebx
push edi
xor edi, edi
inc ebx
cmp eax, edi
jne 0xbc2d32
mov eax, dword [esi + 0x30]
cmp eax, edi
jne 0xbc303e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
cmp eax, edi
je 0xbc2616
push dword [eax + 0x64]
call dword [sym.imp.RPCRT4.dll_RpcMgmtSetServerStackSize]
cmp dword [esi + 0x34], edi
jne 0xbc32d7
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
test byte [esi + 0x38], bl
jne 0xbc32c4
push ebx
lea ecx, [esi + 0x20]
push ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call fcn.00bc2d61
test eax, eax
jne 0xbc25ec
jmp 0xbc32bd
shl eax, 0xa
push eax
jmp 0xbc2610
xor eax, eax
jmp 0xbc262b
push 4
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0xbc25ec
jmp 0xbc32bd
push ebx
push edi
push ebx
call dword [sym.imp.ntdll.dll_RtlSetProcessIsCritical]
add esp, 0xc
jmp 0xbc261f
Function at 0x4012c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xa
mov edi, eax
push 0x65
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4012eb
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4012e3
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40139e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401397
mov dword [ebp - 8], 0
cmp dword [edi], 0x21445641
jne 0x401397
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x401397
push eax
call fcn.0040190c
mov esi, eax
add esp, 4
test esi, esi
je 0x401397
mov eax, dword [ebp - 4]
push esi
push edi
call fcn.00401000
test eax, eax
jne 0x40138e
push eax
push 0x80
push 2
push eax
push eax
mov eax, dword [ebp + 8]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40138e
mov edx, dword [ebp - 0xc]
push 0
lea ecx, [ebp - 8]
push ecx
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x4013a7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004018d2
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004018d2
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4018c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409004]
jne 0x4018cd
repz ret
jmp fcn.00401b46

Function at 0x4039eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004021ef
and dword [ebp - 0x14], 0
cmp dword [0x40ab50], 0
mov dword [ebp - 0x18], eax
jne 0x403a9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403b46
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403b46
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40ab50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40ab54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40ab58], eax
call edi
push eax
call esi
mov dword [0x40ab60], eax
test eax, eax
je 0x403a9e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40ab5c], eax
mov eax, dword [0x40ab5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403af7
cmp dword [0x40ab60], ecx
je 0x403af7
push eax
call esi
push dword [0x40ab60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403af7
test ebx, ebx
je 0x403af7
call edi
test eax, eax
je 0x403aee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403aee
test byte [ebp - 8], 1
jne 0x403af7
or dword [ebp + 0x10], 0x200000
jmp 0x403b2a
mov eax, dword [0x40ab54]
cmp eax, dword [ebp - 0x18]
je 0x403b2a
push eax
call esi
test eax, eax
je 0x403b2a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403b2a
mov eax, dword [0x40ab58]
cmp eax, dword [ebp - 0x18]
je 0x403b2a
push eax
call esi
test eax, eax
je 0x403b2a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40ab50]
call esi
test eax, eax
je 0x403b46
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403b48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004018c3
leave
ret