joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x43690af2
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42f314
nop
nop
mov ecx, 0x9ec664f
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x10008fff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000900e
pop dword [ebp - 0x20]
mov eax, 0x7f1f51d2
add eax, 0x90e13e3c
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc89204a3
sub dword [ebp - 0x30], 0x7a3fbf58
mov dword [ebp - 0x2c], 0x3cf8997a
add dword [ebp - 0x2c], 0xf53ab2cb
mov dword [ebp - 0x28], 0xf53fee71
sub dword [ebp - 0x28], 0xa8f3aa43
mov dword [ebp - 0x24], 0x3d4dc7f8
add dword [ebp - 0x24], 0xc2b23808
lea eax, [ebp - 0x30]
push eax
mov eax, 0x1114e637
add eax, 0xfeebb9cd
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x1fd1e1ff
sub dword [ebp - 0x30], 0xab5f78a9
mov dword [ebp - 0x2c], 0xe1b68238
sub dword [ebp - 0x2c], 0xa04a20c3
mov dword [ebp - 0x28], 0xb5560d99
sub dword [ebp - 0x28], 0x51e6a12d
mov dword [ebp - 0x24], 0xd46b2003
add dword [ebp - 0x24], 0x2b94dffd
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x376b2
push 0
call eax
mov ecx, 0x4b88
xor ebx, ebx
add ebx, eax
mov esi, 0x1000f800
add esi, dword [ebp - 0x20]
mov edi, 0x4fa96750
add edi, 0xb6ea9881
xor dword [ebp - 4], ecx
mov edx, dword [esi]
add dword [ebp - 0x1c], 0x24321e0f
sub edx, edi
mov dword [ebp - 0x1c], 0xc5f09b81
mov dword [ebx], edx
xor dword [ebp - 8], ebx
add ebx, 0xe433d440
add ebx, 0x1bcc2bc4
add esi, 4
loop 0x10009121
add eax, 0x2aceb6f0
add eax, 0xd5326a03
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret

Function at 0x4cb211
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0040302c]
test eax, eax
je 0x4cb250
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4cb250
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4cb250
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4cb250
cmp dword [ecx + 0x74], 0xe
jbe 0x4cb250
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4e3cb3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0040302c]
test eax, eax
je 0x4e3cf2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e3cf2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e3cf2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4e3cf2
cmp dword [ecx + 0x74], 0xe
jbe 0x4e3cf2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402402
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40243d
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x402424
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x402435
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40243f
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40241a
xor eax, eax
pop edi
pop esi
ret
Function at 0x402c90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
dec dword [edx]

Function at 0x406750
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x412018]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x21c]
call fcn.004099d0
test eax, eax
je 0x406782
mov eax, 1
jmp 0x406827
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4067a1
xor eax, eax
jmp 0x406827
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push str.RPCSS
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push 1
push 3
push 0x10
push 0xf01ff
mov edx, dword [ebp - 0x21c]
add edx, 0x230
push edx
mov eax, dword [ebp - 0x21c]
add eax, 0x230
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40680e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x406827
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00407668
mov esp, ebp
pop ebp
ret
Function at 0x40216b
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x402175
push 0x14
push 0x411788
call fcn.00405300
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4021a3
xor ebx, ebx
jmp 0x4021d6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40219f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40219f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4021d6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004048ef
test eax, eax
jne 0x4021ea
push 0x1c
call main
pop ecx
call fcn.00403b58
test eax, eax
jne 0x4021fb
push 0x10
call main
pop ecx
call fcn.004051cc
and dword [ebp - 4], 0
call fcn.00404904
test eax, eax
jns 0x402215
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4162e8], eax
call main
mov dword [0x414430], eax
call main
test eax, eax
jns 0x40223b
push 8
call main
pop ecx
call fcn.00404de7
test eax, eax
jns 0x40224c
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x40225f
push eax
call main
pop ecx
call fcn.00405299
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x402281
push esi
call main
call fcn.00404663
jmp 0x4022b6
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00405345
ret

Function at 0x404f26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x404f35
pop dword [ebp - 0x14]
mov eax, 0x404f35
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x36fd9400
sub dword [ebp - 0x24], 0xe8ab4eb5
mov dword [ebp - 0x20], 0xc6689429
add dword [ebp - 0x20], 0x6bcab81c
mov dword [ebp - 0x1c], 0xb4614bcc
sub dword [ebp - 0x1c], 0x6815079e
mov dword [ebp - 0x18], 0xc580d071
sub dword [ebp - 0x18], 0xc580d071
lea eax, [ebp - 0x24]
push eax
mov eax, 0xa9ce9ca6
add eax, 0x5672338e
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7a4d812c
sub dword [ebp - 0x24], 0x5db17d6
mov dword [ebp - 0x20], 0xb8062272
add dword [ebp - 0x20], 0x89663f03
mov dword [ebp - 0x1c], 0x15071b0d
add dword [ebp - 0x1c], 0x4e68515f
mov dword [ebp - 0x18], 0x3d31c230
sub dword [ebp - 0x18], 0x3d31c230
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xaa278978
add eax, 0x561946b8
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3b269
push 0
call eax
mov ecx, 0x5156
xor ebx, ebx
add ebx, eax
mov edi, 0x421000
add edi, dword [ebp - 0x14]
mov edx, 0xb4cbde8b
add edx, 0x4f0ca26f
xor dword [ebp - 0xc], 0x71dca87b
mov esi, dword [edi]
add esi, edx
add dword [ebp - 0x10], edx
mov dword [ebx], esi
add dword [ebp - 4], 0xcddac42
add ebx, 0xd8ab40c5
add ebx, 0x2754bf3f
add edi, 0x75ceec4d
sub edi, 0x75ceec49
loop 0x405048
add eax, 0x837031d6
add eax, 0x7c910655
xor ebx, ebx
add ebx, eax
add eax, 0x42c3f399
add eax, 0xbd3c0c6c
mov ecx, 0xcc84a733
sub ecx, 0xcc44a733
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7f551d42
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x27ff7128
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x660d7663
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x6d970d70
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x4041d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40422c
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404223
cmp dword [ebp + 8], esi
jne 0x404223
cmp dword [ebp - 4], esi
jne 0x404223
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

Function at 0x4013e0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
mov ebx, dword [eax + 4]
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, eax
mov edi, 0
mov esi, 0
sub edi, 0x6d
mov dword [ebp - 8], 0x58d84e99
sub edi, eax
sub eax, eax
mov eax, dword [ebp - 8]
mov edx, 0x318
mov edx, dword [edx + 0x401d28]
lea esi, [ebp - 0x2c]
push esi
call edx
xor esi, dword [ebp - 0x75]
add edi, dword [ebp - 0x87]
add dword [ebp - 0x73], eax
mov eax, 0xc6ef3720
sub edi, 0xbb
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov edx, ecx
shr edx, 5
mov esi, ecx
shl esi, 4
xor edx, esi
mov esi, eax
shr esi, 0xb
and esi, 3
add edx, dword [edi + esi*4]
mov esi, eax
xor esi, ecx
add edx, esi
sub ebx, edx
mov edx, 0
sub edx, 0x86
add eax, 0x61c88647
sub esi, 0x2a
sub esi, 0xce
mov edx, 0
mov edx, ebx
shr edx, 5
mov esi, ebx
shl esi, 4
xor edx, esi
mov esi, eax
and esi, 3
add edx, dword [edi + esi*4]
mov esi, eax
xor esi, ebx
add edx, esi
sub ecx, edx
test eax, eax
mov dword [ebp - 4], ecx
jne 0x40143c
or ecx, ecx
xor ecx, dword [ebp - 0x9c]
mov edi, 0x3278
mov edi, dword [edi + 0x3fedd8]
push 0x371c
push 0
push 0
call edi
mov edx, 0
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4014a3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x124]
push ebx
sub esp, 0x13c
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov esi, dword [ebp + 0xc]
and edi, 0x300
mov dword [esp], ebx
mov eax, edi
mov dword [esp + 4], esi
or eax, 8
mov dword [esp + 8], eax
call fcn.00407e57
sub esp, 0x10
test eax, eax
jne 0x4015ae
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x11d]
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea edx, [ebp - 0x11d]
sub esp, 0x10
test eax, eax
jne 0x401564
cmp dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x124]
je 0x40154a
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
push ecx
jmp 0x4015ae
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.004014a3
sub esp, 0xc
test eax, eax
je 0x4014f4
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov dword [esp], 3
call fcn.00408b7f
push edx
test eax, eax
je 0x40159f
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
sub esp, 0x10
jmp 0x4015ae
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edx
push edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x403868
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401ea6
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x403f87
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x403a5c
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
invalid
Function at 0x408af4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x126]
sub esp, 0x134
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408b31
xor edx, edx
cmp byte [ebp + eax - 0x127], 0x5c
sete dl
jmp 0x408b38
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, 0x40b4a0
add eax, ebx
mov dword [esp + 4], str._s_s.dll
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b004]
jne 0x40100a
repz ret
jmp fcn.004019eb

Function at 0x406948
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040256b
and dword [ebp - 4], 0
cmp dword [0x41d264], 0
mov ebx, eax
jne 0x4069f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406aaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406aaa
push eax
call fcn.004024f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41d264], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d268], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d26c], eax
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x41d274], eax
test eax, eax
je 0x4069f9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x41d270], eax
mov eax, dword [0x41d270]
cmp eax, ebx
je 0x406a51
cmp dword [0x41d274], ebx
je 0x406a51
push eax
call fcn.00402574
push dword [0x41d274]
mov esi, eax
call fcn.00402574
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a51
test edi, edi
je 0x406a51
call esi
test eax, eax
je 0x406a48
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a48
test byte [ebp - 0xc], 1
jne 0x406a51
or dword [ebp + 0x10], 0x200000
jmp 0x406a8a
mov eax, dword [0x41d268]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a8a
mov eax, dword [0x41d26c]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d264]
call fcn.00402574
pop ecx
test eax, eax
je 0x406aaa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406aac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417446
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test ebx, ebx
jle 0x4174a3
and dword [ebp - 0x808], 0
lea ecx, [ebp - 0x808]
call fcn.0041743e
mov al, byte [ebp - 0x808]
xor byte [edi + esi], al
cmp ebx, 0xf
jne 0x41749e
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc esi
cmp esi, ebx
jl 0x417460
pop esi
cmp ebx, 0x2d
jne 0x4174ba
or dword [0x270539c], 0xffffffff
mov dword [0x2705398], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret
Function at 0x4019d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, 0xc
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x2a0
mov dword [ebp - 0x290], 0xc
lea esi, [esi]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
lea eax, [ebp - 0x290]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.iphlpapi.dll_GetUdpTable]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x401b50
mov eax, dword [edi]
test eax, eax
je 0x401b24
lea esi, [ebp - 0x14c]
mov eax, dword [edi + ebx*8 + 4]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_htonl]
sub esp, 4
movzx edx, al
mov dword [esp + 0x18], edx
movzx edx, ah
mov dword [esp + 0x14], edx
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x24c]
movzx edx, dl
mov dword [esp + 8], 0x40546c
mov dword [esp + 0x10], edx
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call sym._swprintf
movzx eax, word [edi + ebx*8 + 8]
add ebx, 1
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_htons]
sub esp, 4
movzx eax, ax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28c]
mov dword [esp + 8], 0x405484
mov dword [esp + 4], 0x20
mov dword [esp], eax
call sym._swprintf
lea eax, [ebp - 0x28c]
mov dword [esp + 8], str._s:_s
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x24c]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa0
mov dword [esp], esi
call sym._swprintf
mov dword [esp + 8], esi
mov dword [esp + 4], 0x405498
mov dword [esp], str.____6s___22s_:_n
call sym._NETSTAT_wprintf
cmp dword [edi], ebx
ja 0x401a50
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp ebx, 0x7a
jne 0x401b48
mov eax, dword [ebp - 0x290]
jmp 0x4019f8
Function at 0x402570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4025c8
cmp byte [esi + ebx - 1], 0xa
je 0x40259c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4080c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x403040
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop