joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404830
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x214]
push edi
push eax
push 0x20019
xor edi, edi
mov dword [ebp - 0x214], 0
push edi
push str.SoftwareClientsStartMenuInternet
push 0x80000001
mov dword [ebp - 0x218], 0
call esi
mov ebx, eax
lea eax, [ebp - 0x218]
push eax
push 0x20019
push edi
push str.SoftwareClientsStartMenuInternet
push 0x80000002
mov dword [ebp - 0x21c], ebx
call esi
mov dword [ebp - 0x220], eax
test eax, eax
je 0x4048ae
test ebx, ebx
jne 0x404a31
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x210]
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
call ebx
test eax, eax
jne 0x404964
lea eax, [ebp - 0x20c]
push str.Supermium
push eax
call fcn.004064b6
add esp, 8
test eax, eax
jne 0x404913
lea eax, [ebp - 0x20c]
push str.Supemium
push eax
call fcn.004064b6
add esp, 8
test eax, eax
je 0x40492e
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
call fcn.00404780
mov edi, eax
test edi, edi
jne 0x404a05
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push dword [ebp - 0x214]
call ebx
test eax, eax
je 0x4048e3
test edi, edi
jne 0x404a05
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x218]
call ebx
test eax, eax
jne 0x404a05
nop
lea eax, [ebp - 0x20c]
push str.Supermium
push eax
call fcn.004064b6
add esp, 8
test eax, eax
jne 0x4049c0
lea eax, [ebp - 0x20c]
push str.Supemium
push eax
call fcn.004064b6
add esp, 8
test eax, eax
je 0x4049d7
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x20c]
call fcn.00404780
mov edi, eax
test edi, edi
jne 0x404a05
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push dword [ebp - 0x218]
call ebx
test eax, eax
je 0x404990
cmp dword [ebp - 0x21c], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x404a1c
push dword [ebp - 0x214]
call esi
cmp dword [ebp - 0x220], 0
jne 0x404a2d
push dword [ebp - 0x218]
call esi
test edi, edi
jne 0x404a44
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004054d3
mov esp, ebp
pop ebp
ret
movzx eax, word [edi]
xor ecx, ecx
xor edx, edx
mov esi, eax
test ax, ax
je 0x404a68
cmp si, 0x5c
mov eax, ecx
movzx esi, word [edi + ecx*2 + 2]
cmovne eax, edx
inc ecx
mov edx, eax
test si, si
jne 0x404a52
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [edi + edx*2], ax
xor ecx, ebp
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.004054d3
mov esp, ebp
pop ebp
ret
Function at 0x405d5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405d9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x405d9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405d9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x405d9a
cmp dword [ecx + 0x74], 0xe
jbe 0x405d9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40bac8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40bb65
push ebx
push esi
call fcn.0040ba91
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040ba25
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40bb12
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40bb64
push edi
push eax
call fcn.0040a42b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40bb32
call fcn.0040a586
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40bb63
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040ba25
add esp, 0x20
test eax, eax
jne 0x40bb51
push edi
call fcn.0040a586
jmp 0x40bb59
push ebx
call fcn.0040a586
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40cd74
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415070
push 0x415068
push str.FlsAlloc
push 0x1f
call fcn.0040cc33
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40cda8
push dword [ebp + 8]
mov ecx, esi
call dword [0x413158]
call esi
jmp 0x40cdae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40cdf2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415080
push 0x415078
push str.FlsGetValue
push 0x21
call fcn.0040cc33
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ce29
push dword [ebp + 8]
mov ecx, esi
call dword [0x413158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40ce31
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415088
push 0x415080
push str.FlsSetValue
push 0x22
call fcn.0040cc33
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ce6b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x413158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x412230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41225d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41225d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5ea1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005ea140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005ea140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005ea140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005ea140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5eabfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5eac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5fc87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5eac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5eac52
xor eax, eax
pop esi
leave
ret 4

Function at 0x401000
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
mov dword [ebp - 0x134], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4010ba
lea esp, [esp]
mov eax, esi
lea ecx, [ebp - 0x10c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401078
test dl, dl
je 0x401074
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401078
add ecx, 2
add eax, 2
test dl, dl
jne 0x401058
xor eax, eax
jmp 0x40107d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4010a8
push dword [ebp - 0x128]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4010a2
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x401050
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401190
mov esp, ebp
pop ebp
ret
Function at 0x1003fc4
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, dword [ebp + 0x10]
jne 0x100406d
cmp dword [ebp + 0xc], 0x100
jne 0x100406d
push ebx
push esi
mov esi, dword [edi]
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ebx, eax
push ebx
push 0x10013e0
push esi
push 0x10013cc
mov esi, 0x100a680
push esi
call fcn.01003ccc
pop ecx
pop ecx
mov ecx, eax
call fcn.01003e15
push eax
call fcn.01003ccc
pop ecx
pop ecx
mov ecx, eax
call fcn.01003e15
push eax
call fcn.01003fa1
test byte [edi + 8], 0x10
pop ecx
je 0x1004036
push 0x10013ac
jmp 0x100403b
push 0x1001394
push esi
call fcn.01003ccc
push eax
call fcn.01003fa1
add esp, 0xc
cmp ebx, 0x43
jne 0x100406b
push 0x1001364
push esi
call fcn.01003ccc
push eax
call fcn.01003fa1
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
pop ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x100a550]
call dword [sym.imp.USER32.dll_CallNextHookEx]
pop edi
pop ebp
ret 0xc

Function at 0x100408a
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x10040d5
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10040d5
push ebx
push 0x100
push ebx
call fcn.01003fc4
cmp eax, ebx
jne 0x10040d3
push 0x10013f0
push 0x100a710
call fcn.01003ccc
push eax
call fcn.01003fa1
add esp, 0xc
jmp 0x10040d5
mov bl, al
mov al, bl
pop ebx
pop ebp
ret

Function at 0x10040df
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push fcn.01003fc4
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100a550], eax
call fcn.010019a5
call dword [sym.imp.interception.dll_interception_create_context]
push 3
push dword [sym.imp.interception.dll_interception_is_keyboard]
mov ebx, eax
push ebx
call dword [sym.imp.interception.dll_interception_set_filter]
mov esi, dword [sym.imp.interception.dll_interception_wait]
push ebx
call esi
mov edi, dword [sym.imp.interception.dll_interception_receive]
push 1
lea ecx, [ebp - 0xc]
push ecx
push eax
push ebx
mov dword [ebp - 4], eax
call edi
add esp, 0x20
jmp 0x1004187
push 0
call fcn.0100408a
pop ecx
cmp al, 0x43
jne 0x100414e
push 0x44
pop eax
jmp 0x1004156
test al, al
je 0x100415a
movzx ax, al
mov word [ebp - 0xc], ax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.interception.dll_interception_send]
add esp, 0x10
cmp word [ebp - 0xc], 1
je 0x100418b
push ebx
call esi
push 1
lea ecx, [ebp - 0xc]
push ecx
push eax
push ebx
mov dword [ebp - 4], eax
call edi
add esp, 0x14
test eax, eax
jg 0x100413d
push ebx
call dword [sym.imp.interception.dll_interception_destroy_context]
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100575a
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x100868b
call fcn.01006666
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x1005849
cmp byte [esi + 0x41], bl
je 0x1005849
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x100578f
xor al, al
jmp 0x100584b
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0100572b
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.01004e0f
mov edi, dword [eax]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.01004e0f
mov eax, dword [eax]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x18]
add ebx, edi
push ebx
push eax
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x10057ee
dec eax
je 0x10057f2
dec eax
dec eax
je 0x1005845
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.01001ed4
mov al, bl
jmp 0x100584b
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.01004e0f
mov edi, dword [ebp - 0x30]
sub edi, dword [eax]
je 0x1005827
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.01004e0f
push dword [esi + 0x4c]
mov eax, dword [eax]
push edi
push 1
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10057dc
cmp byte [esi + 0x41], 0
je 0x1005845
test edi, edi
jne 0x100579d
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.01002762
jmp 0x100579d
mov bl, 1
jmp 0x10057de
mov al, 1
call fcn.010066ba
ret
Function at 0x1006548
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x10091a0
call fcn.01006e64
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100ab30
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100635d
cmp eax, esi
jne 0x1006350
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1006360
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006337
xor esi, esi
inc esi
mov eax, dword [0x100ab2c]
cmp eax, esi
jne 0x1006373
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10063ae
mov eax, dword [0x100ab2c]
test eax, eax
jne 0x10063a8
mov dword [0x100ab2c], esi
push 0x10011f0
push 0x10011e4
call fcn.010062b4
pop ecx
pop ecx
test eax, eax
je 0x10063ae
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1006478
mov dword [0x100a7fc], esi
mov eax, dword [0x100ab2c]
cmp eax, esi
jne 0x10063d2
push 0x10011e0
push 0x10011a8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100ab2c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10063df
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100ab40], ebx
je 0x1006400
push 0x100ab40
call fcn.01006dd9
pop ecx
test eax, eax
je 0x1006400
push ebx
push 2
push ebx
call dword [0x100ab40]
push dword [0x100a7e4]
push dword [0x100a7e8]
push dword [0x100a7e0]
call fcn.010040df
add esp, 0xc
mov dword [0x100a7f8], eax
cmp dword [0x100a7ec], ebx
jne 0x100645e
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100a7fc], ebx
jne 0x100646c
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100a7f8]
call fcn.01006ea9
ret
call fcn.01006fab
jmp 0x1006315
Function at 0x5a6380
Capabilities:
Check for software breakpoints

Disassembly:
fsubp st(0)
jb 0x5a6362
dec esp
xchg ecx, eax
pop eax
pop dword [edx]
xor eax, 0x876af1e2
pop esi
push edi
fist word [esi - 0xa06fc31]
xchg ebx, eax
mov cs, word [ecx - 0x29d6e851]
dec ebp
fsubr qword [edx - 0x41]
mov edi, 0x365890f9
ja 0x5a63e3

Function at 0x5a63a0
Capabilities:
Check for software breakpoints

Disassembly:
cwde
inc ebx
movd eax, mm5
imul byte [eax + 0x3c]
aaa
mov edi, 0x365890f9
ja 0x5a63e3
mov eax, dword [reloc.WINMM.dll_midiStreamStop]
cmpsd dword [esi], dword es:[edi]
mov edi, 0x8ff5d697
push ebx
jbe 0x5a6377
or ebx, 0x536be15c
cmp al, 0xcc
cmp byte [ecx - 0x366dc238], ch
cmp eax, 0x13d9c992
invalid
Function at 0xba7ff6
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
mov dword [esp + 0xc], ebx
pushfd
call fcn.00ba8033
add eax, 0x9d6e0b9b
and al, 0x6d
cld
xchg edx, eax
cmc
add al, 0xb5
dec ecx
jne 0xba7fa2
push ebx
mov dword [esp + 0xc], ebx
call fcn.00ba801b
cmp ebp, dword [esi + reloc.WINMM.dll_midiStreamStop]
daa
ret
push dword [esp + 6]
jmp 0xba7fd9

Function at 0xba802a
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 8], eax
call fcn.00ba806c

Function at 0xba8033
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xba8056
cli
push 0x5b39fa0f
mov dl, 0x8d
and al, 2
pop word [esp + 2]
mov dword [esp], ebx
mov dword [esp], esp
lea esp, [esp + 2]
jmp 0xba808d
mov dword [esp + 0xc], esp
call fcn.00ba8077
mov byte [esp + 1], al
jmp 0xba80a0
mov word [esp], ax
mov dword [esp + 0xc], ebp
call fcn.00ba8108
imul dword [ecx - 7]
cwde
imul ebx, edx, 0x17
mov bl, byte [eax]
jg 0xba8042
aas
mov ebp, dword [edi]
mov edi, 0xc2b029da

Function at 0xba8077
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
push word [esp]
jne 0xba8096
mov byte [esp + 1], al
jmp 0xba8165
mov word [esp], ax
mov dword [esp + 0xc], ebp
jmp 0xba80a8

Function at 0xba8108
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0xc], esi
push sp
lea esp, [esp + 2]
jmp 0xba80de

Function at 0xc9ef14
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xc9e5fe
mov dword [esp], edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xc9e614
push dword [esp + 2]
pop word [esp + 2]
mov word [esp + 1], ax
push dword [esp + 3]
lea esp, [esp + 2]
mov dword [esp + 4], esi
jmp 0xc9e749
lea esp, [esp + 3]
mov dword [esp], ebp
push edi
jmp 0xc9ecbb
Function at 0x1011f9b
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10015a0
call fcn.0101219c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1011fd6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1011fd6
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1011fee
cmp eax, 0x20b
je 0x1011fdb
mov dword [ebp - 0x1c], edi
jmp 0x1012002
cmp dword [ecx + 0x84], 0xe
jbe 0x1011fd6
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1011ffc
cmp dword [ecx + 0x74], 0xe
jbe 0x1011fd6
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1013064], 0xffffffff
or dword [0x1013068], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x101305c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1013058]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x101306c], eax
call fcn.01012194
cmp dword [0x1013030], edi
jne 0x101205d
push fcn.01012194
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0101217d
push 0x1013010
push 0x101300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1013054]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1013050]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1013008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100b5c9
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x10120d4
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1012109
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010121d7
ret

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
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10001d90
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001e8a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10001e83
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10001e69
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10001e69
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10001e69
mov edx, dword [esi]
test edx, edx
jne 0x10001e32
push 0x200
push edx
push dword [0x100055ac]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10001e83
jmp 0x10001e5d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10001e5d
shl eax, 3
push eax
push edx
push 0
push dword [0x100055ac]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10001e83
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10001df1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10001ecf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10001ecf
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001ec9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10001c20
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10001e96
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100029cb
mov esp, ebp
pop ebp
ret

Function at 0x10001ee0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x10001f2c
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10001f1b
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10001f14
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10001ef1
pop edi
push dword [ebx]
push 0
push dword [0x100055ac]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret