joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100645c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.0100646b
jmp fcn.010063e0

Function at 0x100672a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006741
xor eax, eax
jmp 0x1006749
shr eax, 4
not eax
and eax, 1
pop ebp
ret 4

Function at 0x10068b3
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100b2d0]
and dword [ebp - 0xa8], 0
cmp dword [0x100b2dc], 0xfffffffe
mov dword [ebp - 4], eax
mov dword [ebp - 0xb0], 0xc
jne 0x10069d6
and dword [0x100b2dc], 0
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10069d6
cmp dword [ebp - 0x94], 1
jne 0x10069d6
cmp dword [ebp - 0xa0], 4
jne 0x10069d6
cmp dword [ebp - 0x9c], 0xa
jae 0x10069d6
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x10069d6
lea eax, [ebp - 0xac]
push eax
push 0x20019
push 0
push 0x10014b8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10069d6
push edi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0x1001271
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xac]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x10069d6
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0100678f
test eax, eax
je 0x10069d6
and dword [ebp - 0xa8], 0x3ff
cmp dword [ebp - 0xa8], 1
je 0x10069cc
cmp dword [ebp - 0xa8], 0xd
jne 0x10069d6
mov dword [0x100b2dc], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x100b2dc]
call fcn.010064de
leave
ret

Function at 0x10069ea
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x1006a22
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1006a26
xor eax, eax
jmp 0x1006a3c
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4
Function at 0x414ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x37bb95d0]
dec ecx
xchg ebp, eax
lodsb al, byte [esi]
pop ss
or al, byte [edx - 0x6a2f61a9]
jmp 0x414a9a
rcl byte [ebp + 0x6a2ffceb]
push edx
adc al, 5
xor eax, 0x7ec403ac
lodsb al, byte [esi]
leave
jg 0x414adf
adc bh, ah
invalid
push es
jne 0x414a8d
lodsb al, byte [esi]
push esi
sub al, 0x7e
sub edx, dword [ebx - 3]
inc edi
mov edx, 0x2fbe91
movsd dword es:[edi], dword [esi]
adc al, 0x55
scasd eax, dword es:[edi]
lodsd eax, dword [esi]
add edi, dword [edi - 0x7e]
idiv dword [edx]
rcl dword [ebp + 0x28cffcea]
push ebx
inc esi
sub byte [ebx + 0x46], dl
sub ecx, dword [edx + 0x5a97fc11]
xor edi, dword [ebp + 0x303822f]
rcl byte [ebp - 0x6a2f5845]
lodsb al, byte [esi]
inc esp
aas
or dl, byte [edx]
cld
invalid
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
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
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x42821c
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x448130]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov edx, 0x402b78
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x48], ebx
xor edi, edi
mov ecx, ebx
inc edi
call fcn.0043037c
test eax, eax
jne 0x4282db
mov ecx, dword [esi + 0x40]
mov edx, ebx
call fcn.0043037c
test eax, eax
jne 0x428357
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x428275
push dword [esi + 0x40]
call sub.msvcrt.dll_free
pop ecx
mov dword [esi + 0x40], ebx
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42827b
sub ecx, edx
sar ecx, 1
push 2
pop edx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004398b6
mov dword [ebp - 0x4c], eax
mov dword [esi + 0x40], eax
pop ecx
test eax, eax
je 0x428355
mov ecx, dword [ebp - 0x48]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x48], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x4282bb
sub edx, dword [ebp - 0x48]
sar edx, 1
push ecx
mov ecx, dword [ebp - 0x4c]
inc edx
call fcn.004121d8
or dword [esi + 0x68], 0x10
jmp 0x42834a
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call dword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
push 0x405000
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.004276b4
mov ecx, dword [esi + 0x40]
lea edx, [ebp - 0x44]
add esp, 0x10
call fcn.0043037c
test eax, eax
jne 0x428357
cmp dword [esi + 0x40], ebx
je 0x428329
push dword [esi + 0x40]
call sub.msvcrt.dll_free
pop ecx
mov dword [esi + 0x40], ebx
push 0x40
call fcn.004398b6
mov dword [esi + 0x40], eax
pop ecx
test eax, eax
je 0x428355
and dword [esi + 0x68], 0xffffffef
lea ecx, [ebp - 0x44]
push ecx
push 0x20
pop edx
mov ecx, eax
call fcn.004121d8
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], edi
jmp 0x428357
mov edi, ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439c40
mov esp, ebp
pop ebp
ret 4
Function at 0x42f634
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x1cc]
test edi, edi
je 0x42f6bd
call fcn.004344e5
cmp eax, 1
jne 0x42f6bd
push 0x405534
push edi
call dword [sym.imp.msvcrt.dll__wfopen]
mov dword [ebp - 8], eax
pop ecx
pop ecx
test eax, eax
je 0x42f68e
push eax
push 1
lea eax, [ebp - 4]
mov word [ebp - 4], 0xfeff
push 2
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x14
push 0x40553c
push edi
call dword [sym.imp.msvcrt.dll__wfopen]
pop ecx
pop ecx
test eax, eax
jne 0x42f6ae
mov dword [esi + 0xb0], 0xac6e
xor ebx, ebx
jmp 0x42f6b4
mov dword [esi + 0x1d0], eax
cmp ebx, dword [ebp + 0xc]
jne 0x42f77d
cmp dword [ebp + 0x10], 0
jne 0x42f77d
mov edi, dword [esi + 0x1d4]
test edi, edi
je 0x42f77d
call fcn.0043451b
cmp eax, 1
jne 0x42f77d
push 0x405544
push edi
call dword [sym.imp.msvcrt.dll__wfopen]
mov dword [ebp - 8], eax
pop ecx
pop ecx
test eax, eax
je 0x42f717
mov ecx, eax
call fcn.00431c53
push dword [ebp - 8]
mov dword [esi + 0x1dc], eax
call dword [sym.imp.msvcrt.dll_fclose]
mov dword [esp], 0x40553c
jmp 0x42f75c
push 0x405534
push edi
call dword [sym.imp.msvcrt.dll__wfopen]
mov dword [ebp - 8], eax
pop ecx
pop ecx
test eax, eax
je 0x42f757
push eax
push 1
lea eax, [ebp - 4]
mov word [ebp - 4], 0xfeff
push 2
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push dword [ebp - 8]
mov dword [esi + 0x1dc], 1
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x14
push 0x40553c
push edi
call dword [sym.imp.msvcrt.dll__wfopen]
pop ecx
pop ecx
test eax, eax
jne 0x42f777
mov dword [esi + 0xb0], 0xac6d
xor ebx, ebx
jmp 0x42f77d
mov dword [esi + 0x1d8], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431c53
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor eax, eax
push edi
push 1
mov word [ebp - 4], ax
xor esi, esi
lea eax, [ebp - 4]
push 2
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
test eax, eax
je 0x431cba
lea ecx, [ebp - 4]
mov eax, 0xfeff
cmp word [ecx], ax
jne 0x431c8b
inc esi
jmp 0x431cac
lea ecx, [ebp - 4]
mov eax, 0xfffe
cmp word [ecx], ax
jne 0x431c9c
push 2
jmp 0x431cab
lea ecx, [ebp - 4]
mov eax, 0xbbef
cmp word [ecx], ax
jne 0x431cac
push 3
pop esi
push 0
push 0
push edi
call dword [sym.imp.msvcrt.dll_fseek]
add esp, 0xc
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4322a8
Capabilities:
Manipulate console buffer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x448130]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x20], 0
push esi
push edi
push 0x800
mov edi, ecx
call fcn.004398b6
mov esi, eax
pop ecx
test esi, esi
je 0x43237c
push ebx
push 0xfffffffffffffff5
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_console_l2_1_0.dll_GetConsoleScreenBufferInfo]
movsx ecx, word [edi + 6]
movsx edx, word [ebp - 0x16]
movsx eax, word [edi + 4]
sub edx, ecx
movsx ecx, word [ebp - 0xa]
imul edx, ecx
sub edx, eax
movsx eax, word [ebp - 0x18]
add edx, eax
mov eax, 0x400
mov dword [ebp - 0x20], edx
cmp edx, eax
jbe 0x43231b
mov edx, eax
mov dword [ebp - 0x20], edx
lea eax, [edx + edx]
push eax
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
cmp ebx, 0xffffffff
je 0x43233b
movsx ecx, word [edi + 0x10]
movsx eax, word [edi + 0xc]
sub ecx, eax
jmp 0x43233d
xor ecx, ecx
test ecx, ecx
jle 0x432374
xor eax, eax
mov word [ebp - 0x24], ax
mov ax, word [edi + 6]
mov word [ebp - 0x22], ax
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.api_ms_win_core_console_l2_1_0.dll_SetConsoleCursorPosition]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push esi
push ebx
call dword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleW]
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.api_ms_win_core_console_l2_1_0.dll_SetConsoleCursorPosition]
push esi
call sub.msvcrt.dll_free
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00439c40
mov esp, ebp
pop ebp
ret
Function at 0x432f3c
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 8
mov dword [ebp - 8], edx
lea edi, [ebp - 0x28]
mov edx, ecx
mov dword [ebx], 1
pop ecx
rep stosd dword es:[edi], eax
xor esi, esi
inc eax
push 0x17
mov dword [ebp - 4], esi
pop edi
cmp dword [ebp + 0xc], eax
jne 0x432f76
mov dword [ebp - 0x24], 2
jmp 0x432f82
cmp dword [ebp + 0xc], 2
mov dword [ebp - 0x24], edi
je 0x432f82
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push edx
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x432fe9
mov edx, dword [ebp - 4]
mov eax, edx
test edx, edx
je 0x432fd2
cmp dword [eax + 4], edi
je 0x432fc2
cmp dword [eax + 4], 2
je 0x432fb6
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x432fa2
jmp 0x432fd2
mov esi, dword [eax + 0x18]
mov edi, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x432fcf
mov edi, dword [ebp - 8]
mov dword [ebx], esi
mov esi, dword [eax + 0x18]
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
push edx
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
neg esi
sbb esi, esi
and esi, 0xfffffb18
lea eax, [esi + 0x4e8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43394e
Capabilities:
Get token privileges

Disassembly:
push 0x18
mov eax, 0x43ef46
call fcn.0043a02b
mov esi, ecx
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
push 0x28
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
je 0x433a4b
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov eax, dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push 2
mov dword [ebp - 0x1c], eax
pop edi
mov eax, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], eax
and eax, 0xfffffffd
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ecx
test esi, esi
jne 0x4339cd
push ebx
push ebx
push ebx
push ebx
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x433a3c
mov ebx, 0x80041003
jmp 0x433a3c
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 3
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
push dword [ebp - 0x18]
call fcn.004398b6
mov esi, eax
pop ecx
test esi, esi
je 0x433a37
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push 3
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
je 0x433a29
mov ecx, ebx
cmp dword [esi], ebx
jbe 0x433a17
lea eax, [esi + 0xc]
or dword [eax], edi
inc ecx
lea eax, [eax + 0xc]
cmp ecx, dword [esi]
jb 0x433a0d
push ebx
push ebx
push ebx
push esi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x433a2e
mov ebx, 0x80041003
push esi
call sub.msvcrt.dll_free
pop ecx
jmp 0x433a3c
mov ebx, 0x80041006
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x433a50
mov ebx, 0x80041003
mov eax, ebx
call fcn.00439ff9
ret
Function at 0x433b43
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x43ef69
call fcn.0043a02b
and dword [ebp - 0x10], 0
push 0x20a
call fcn.004398b6
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x433b7a
mov dword [ebp - 0x14], 0xbbef
push 0x447c48
lea eax, [ebp - 0x14]
push eax
call sub.msvcrt.dll__CxxThrowException
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00416a92
and dword [ebp - 4], 0
push 0x105
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
mov esi, eax
test esi, esi
je 0x433be4
cmp esi, 0x104
jbe 0x433bf7
cmp dword [ebp - 0x10], 0
je 0x433bb9
push dword [ebp - 0x10]
call sub.msvcrt.dll_free
and dword [ebp - 0x10], 0
pop ecx
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004398b6
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
je 0x433b65
push esi
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
jne 0x433bf7
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x447ca0
jmp 0x433b71
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x433b65
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00416a3f
mov eax, esi
call fcn.00439ff9
ret
Function at 0x434551
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, dword [ecx]
xor ebx, ebx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43455f
sub ecx, edx
sar ecx, 1
lea ebx, [ecx*2 + 2]
push ebx
push 0x42
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4345c7
push esi
call dword [sym.imp.api_ms_win_core_heap_obsolete_l1_1_0.dll_GlobalLock]
push edi
mov edx, ebx
mov ecx, eax
call fcn.00416b73
push esi
call dword [sym.imp.api_ms_win_core_heap_obsolete_l1_1_0.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4345c0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_GlobalFree]
pop edi
pop esi
pop ebx
ret

Function at 0x4359f1
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0x4359c0
push esi
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x435a46
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
push 0xffffffffffffffff
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x439c30
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x447a68
call fcn.0043a42c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x448910
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x439ab8
cmp eax, esi
jne 0x439aab
xor esi, esi
inc esi
mov edi, esi
jmp 0x439abb
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x439a8f
xor esi, esi
inc esi
cmp dword [0x448914], esi
jne 0x439acd
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x439b07
cmp dword [0x448914], ebx
jne 0x439b01
mov dword [0x448914], esi
push 0x401124
push 0x401118
call fcn.00439be2
pop ecx
pop ecx
test eax, eax
je 0x439b07
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x439bdc
mov dword [0x448184], esi
cmp dword [0x448914], esi
jne 0x439b2a
push 0x401114
push 0x401100
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x448914], 2
test edi, edi
jne 0x439b37
xor eax, eax
mov ecx, 0x448910
xchg dword [ecx], eax
cmp dword [0x448920], 0
je 0x439b63
push 0x448920
call fcn.0043a270
pop ecx
test eax, eax
je 0x439b63
push ebx
push 2
push ebx
mov esi, dword [0x448920]
mov ecx, esi
call dword [0x449328]
call esi
push dword [0x448190]
push dword [0x44818c]
push dword [0x448188]
call fcn.00433d65
add esp, 0xc
mov dword [0x448180], eax
cmp dword [0x448198], 0
jne 0x439bc1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x448184], 0
jne 0x439bd5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x448180]
mov dword [ebp - 4], 0xfffffffe
call fcn.0043a474
ret
call fcn.0043a363
jmp 0x439a73

Function at 0x43a174
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x447aa8
call fcn.0043a4c8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x43a1d4
cmp eax, 0xffffffff
je 0x43a1d4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x43a1cd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x43a1cd
cmp edx, 0x10000000
jae 0x43a1cd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x43a1ca
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0043a50d
ret 4

Function at 0x43a220
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x43a25e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x43a256
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x43a260
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x43a246
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43a330
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x43a346
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x43a361
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x408c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x407e18], 0x1d9232
je 0x408d60
jmp 0x408c1c
xor ebx, 0xfa25ed61
xor edx, 0xfb9bde2a
xor edx, 0xfa599e2c
mov ebx, 0xfe935905
mov ebx, 0xf7b9a947
call fcn.00408c93
mov ebx, 0xfc113b91
mov ebx, 0xf80f43f0
mov edx, 0xfbd25e81
xor edx, 0xfef1835a
cmp eax, 0x18334ada
jne 0x402273
jmp 0x408cc3
mov edx, 0xfb014e29
mov dword [0x407e18], 0x1d9232
mov ebx, 0xfebd7897
jmp 0x408cdc
call fcn.00408d2e
jmp 0x408d60
invalid
mov edx, 0xfb729060
pushal
nop
jb 0x408d5b
xor dword [edi + 0x47], esi
jns 0x408d0e
and dword [eax + 0x71], ebx
mov dh, 0x26
adc esi, dword [edi]
pushfd
push 0x1c
push ecx
xchg edi, eax
push 0x56
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x132fa27d], bl
aaa
mov cs, word [edx + 0x56]
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x332fa27d], bl
dec eax
test al, 0x25
push esp
push 0xffffffffffffffbb
daa
adc edx, dword [ebp - 0x45]
and al, 0x52
jg 0x408d5c
cmp byte [ebx], dh
xchg ecx, eax
scasd eax, dword es:[edi]
mov dh, 0xf4
sbb eax, 0x187363fa
fimul dword [edx + 0x33]
sbb byte [ebx + 0x27], dl
retf
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x20571257
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x79b82ce7
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219