joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcea250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcfe808
push 0xcee288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xcea329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xcea329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00ced1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xcea329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xcea329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xcea32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00cea351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xcead20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xcead58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xcead60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xcead94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xcead94
push eax
push esi
call fcn.00ced20b
add esp, 8
pop esi
ret 0x10

Function at 0xceada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xceae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xceae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xd03320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00cecdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xceadda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xceae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xceaec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xceaeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xd03320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00cecdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xceaeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xceae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xceb000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xceb131
push esi
call fcn.00cee145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00cdd080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xceb131
push 0
push ebp
call fcn.00cdd3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00cdd260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xceb08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00cdd2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xceb121
push 0xd03918
push edi
call fcn.00cec3f0
push eax
push ebx
push esi
call fcn.00ceaf60
push 0xd038f8
push edi
call fcn.00cec3f0
push eax
push ebx
push esi
call fcn.00ceaf60
push 0xd038d8
push edi
call fcn.00cec3f0
push eax
push ebx
push esi
call fcn.00ceaf60
push 0xd038c0
push edi
call fcn.00cec3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00ceaf60
push 0xd038a0
push edi
call fcn.00cec3f0
push eax
push ebx
push esi
call fcn.00ceaf60
push 0xd03888
push edi
call fcn.00cec3f0
push eax
push ebx
push esi
call fcn.00ceaf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xcec1b0
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.00cec140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00cec140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00cec140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00cec140
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 0xcecbfa
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 0xcecc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xcfe87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xcecc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xcecc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1016e0d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x14
mov eax, 4
call fcn.1016d370
mov eax, esp
mov dword [0x101aa3a4], 0x1973
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x101aa3a8]
sub eax, 0x1648
mov dword [0x101aa3a4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1016e178
mov dword [0x101aa3a8], 0x1d1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
movzx eax, word [eax + edx*2 - 0xe]
cmp eax, 0x6c
je 0x1016e274
jmp 0x1016e287
mov dword [0x101aa3a4], 0x24a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
movzx eax, word [eax + edx*2 - 0x12]
cmp eax, 0x64
je 0x1016e250
jmp 0x1016e28b
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x104
setl cl
mov byte [ebp - 0x19], cl
mov al, byte [ebp - 0x19]
test al, 1
jne 0x1016e19c
jmp 0x1016e1c0
mov dword [0x101aa3a8], 0xe9d
jmp 0x1016e1b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
movzx eax, word [eax + edx*2]
cmp eax, 0
jne 0x1016e190
jmp 0x1016e1c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x1016e178
mov dword [0x101aa3a8], 0x2480
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
movzx eax, word [eax + edx*2 - 0x1a]
cmp eax, 0x6c
sete bl
mov byte [ebp - 0x1a], bl
mov al, byte [ebp - 0x1a]
test al, 1
jne 0x1016e1ee
jmp 0x1016e293
mov dword [0x101aa3a8], 0x9c7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov si, word [eax + edx*2 - 0x18]
mov word [ebp - 0x1c], si
mov ax, word [ebp - 0x1c]
movzx ecx, ax
cmp ecx, 0x6f
jne 0x1016e291
mov dword [0x101aa3a4], 0x1f2f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
movzx eax, word [eax + edx*2 - 0x16]
cmp eax, 0x61
jne 0x1016e28f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
movzx eax, word [eax + edx*2 - 0x14]
cmp eax, 0x64
je 0x1016e151
jmp 0x1016e28d
mov dword [0x101aa3a4], 0x401
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
movzx eax, word [eax + edx*2 - 0x10]
cmp eax, 0x6c
je 0x1016e12a
jmp 0x1016e289
mov dword [0x101aa3a4], 0x1a60
mov dword [ebp - 0x14], 1
jmp 0x1016e29c
jmp 0x1016e289
jmp 0x1016e28b
jmp 0x1016e28d
jmp 0x1016e28f
jmp 0x1016e291
jmp 0x1016e293
mov dword [ebp - 0x14], 0
jmp 0x1016e29c
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
Function at 0x1016ef50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x101aa3a4], 0x513
mov dword [0x101aa3ac], 0
mov dword [0x101aa3b0], 0
mov dword [0x101aa3bc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov eax, dword [0x101aa3a4]
add eax, 0x1004
mov dword [0x101aa3a8], eax
mov dword [ebp - 0x24], 0
jmp 0x1016efc7
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jae 0x1016efbf
mov eax, 0x100
mov dword [0x101aa3a4], 0x525
mov dword [0x101aa3a8], 0x2451
mov dword [0x101aa3a8], 0xda4
mov ecx, dword [0x101aa3ac]
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x101aa3ac], edx
mov edx, dword [0x101aa3b0]
mov esi, dword [0x101aa3ac]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x101aa3b0], edx
mov edx, dword [0x101aa3a4]
add edx, 0x1e48
mov dword [0x101aa3a4], edx
mov edx, dword [0x101aa3ac]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov byte [0x101aa3b4], bl
mov dword [0x101aa3a4], 0x1607
mov edx, dword [0x101aa3b0]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov edx, dword [0x101aa3ac]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov edx, dword [0x101aa3a8]
add edx, 0x7cc
mov dword [0x101aa3a4], edx
mov bl, byte [0x101aa3b4]
mov edx, dword [0x101aa3b0]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov edx, dword [0x101aa3ac]
mov esi, dword [ebp - 0x1c]
movzx edx, byte [esi + edx]
mov esi, dword [0x101aa3b0]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov dword [ebp - 0x34], edx
mov eax, 0x100
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [0x101aa3a4], 0xf7b
mov edx, dword [0x101aa3a4]
sub edx, 0x35d
mov dword [0x101aa3a8], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
mov esi, dword [ebp - 0x38]
idiv esi
mov dword [0x101aa3bc], edx
mov dword [0x101aa3a4], 0x1d88
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
mov edi, dword [0x101aa3bc]
mov ebx, dword [ebp - 0x1c]
movzx edi, byte [ebx + edi]
xor edx, edi
mov cl, dl
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
mov byte [edi + edx], cl
mov dword [0x101aa3a4], 0x627
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x1016efc7
Function at 0x1016f380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [fcn.1016f380]
mov ecx, dword [0x101aa3a4]
sub ecx, 0x2540
mov dword [0x101aa3a4], ecx
mov dword [ebp - 8], eax
mov dword [0x101aa3a4], 0x8d2
mov eax, dword [ebp - 8]
movzx eax, word [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0x5a4d
jne 0x1016f3e6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 0x4550
jne 0x1016f3e4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1016f40b
jmp 0x1016f3e6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov al, 1
test al, 1
jne 0x1016f3ab
jmp 0x1016f404
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
pop ebp
ret
Function at 0x1001bd5
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1004004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10012b0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1001c40
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x1001290
push 0x1001284
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01002a05
leave
ret

Function at 0x1001c51
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1004070], esi
jbe 0x1001c82
push 1
push esi
push 0x10013d0
push 0x10013b8
push 0x1001284
push dword [0x1004024]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1001cd5
lea eax, [ebp - 4]
push eax
push 0x1001318
push 0x17
push esi
push 0x100160c
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1001cc8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push 0x10013a4
push 0x1001360
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x1001cc8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push esi
push 0x1001328
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x1001cd5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
leave
ret
Function at 0x1001fe8
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push 0x10014c0
xor eax, eax
push 1
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10020eb
push ebx
push esi
push edi
mov esi, 0x1004028
push esi
call fcn.01001a31
push 0x1001470
mov dword [0x1004068], 0x1001254
mov dword [0x100406c], 0x1001264
mov dword [section..data], esi
call fcn.01001b1c
push dword [ebp + 8]
call fcn.01001eac
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10020c5
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1002091
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x1002078
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov dword [ebp - 8], eax
call ebx
mov ecx, dword [0x1004020]
test ecx, ecx
je 0x10020b9
push 1
call fcn.01001baf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp + 8]
push 0x1001440
call dword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.01001b6a
cmp dword [ebp - 8], 0
jne 0x10020e8
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 0x10
Function at 0x10029eb
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1003550
call fcn.01002bc4
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, 0x10043d8
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10027a2
cmp eax, esi
jne 0x1002795
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10027a5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100277c
xor esi, esi
inc esi
mov eax, dword [0x10043d4]
cmp eax, esi
jne 0x10027b8
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10027e7
mov eax, dword [0x10043d4]
test eax, eax
jne 0x10027e1
mov dword [0x10043d4], esi
push 0x1001198
push 0x100118c
call fcn.010026e1
pop ecx
pop ecx
test eax, eax
je 0x10027e7
jmp 0x100290f
mov dword [0x1004098], esi
mov eax, dword [0x10043d4]
cmp eax, esi
jne 0x100280b
push 0x1001188
push 0x1001180
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10043d4], 2
test ebx, ebx
jne 0x1002817
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10043dc], 0
je 0x100283b
push 0x10043dc
call fcn.01002b39
pop ecx
test eax, eax
je 0x100283b
push 0
push 2
push 0
call dword [0x10043dc]
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 0x1002897
test al, al
je 0x1002855
cmp dword [ebp - 0x1c], 0
jne 0x1002897
mov al, byte [esi]
test al, al
je 0x1002865
cmp al, 0x20
ja 0x1002865
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1002855
test byte [ebp - 0x3c], 1
je 0x1002871
movzx eax, word [ebp - 0x38]
jmp 0x1002874
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1004094], eax
cmp dword [0x1004088], 0
jne 0x10028eb
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x10028a6
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 0x10028b9
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1002842
cmp dword [0x1004098], 0
jne 0x10028fa
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004094]
jmp 0x100291b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01002c09
ret
call fcn.01002d11
jmp 0x1002742
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2dad49fa
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xc3f7f7e
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4013c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x4013f6
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x40146e
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call fcn.00401160
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x10]
cmp dword [ebp + 0xc], edx
jb 0x401436
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0xc]
jbe 0x40143d
mov eax, 0xc1
jmp 0x401470
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0044c4c0
add esp, 0xc
jmp 0x4013e4
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401fb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x401fc8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40201a
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x401fe9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x40200b
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
xor edx, edx
sub edx, ecx
and edx, 0xedb88320
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x401fe0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax*4 + 0x46b8c0], ecx
jmp 0x401fbf
mov dword [ebp - 4], 0x100
jmp 0x40202c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x800
jae 0x402064
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x46b4c0]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov eax, dword [ebp - 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x46b8c0]
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x46b8c0], eax
jmp 0x402023
mov dword [0x46b8b0], 0x4020b0
mov dword [0x46b8ac], 0x4020b0
mov esp, ebp
pop ebp
ret