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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20119
xor esi, esi
push esi
push 0x4305fb48
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x4305fb06
jle 0x4305fb42
and eax, 0xffff
or eax, 0x80070000
jmp 0x4305fb42
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push esi
push esi
push 0x4305fb9c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4305fb27
xor esi, esi
inc esi
jmp 0x4305fb37
cmp eax, esi
jle 0x4305fb35
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4

Function at 0x4305fbbc
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4306c004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x4305fc20
cmp dword [ebp - 0x108], 2
jne 0x4305fc20
cmp dword [ebp - 0x114], 6
jb 0x4305fc20
push esi
call fcn.4305f9b3
cmp eax, 1
jne 0x4305fc26
push esi
call fcn.4305fac9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.430364bf
leave
ret

Function at 0x4305fc32
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4306c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x214], edi
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jl 0x4305fcf8
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4305fc90
push esi
sub eax, edx
sar eax, 1
push ebx
mov esi, eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCommonPrefixW]
lea eax, [ebp - 0x210]
push eax
call edi
cmp eax, esi
jae 0x4305fcf0
lea esi, [ebp - 0x210]
call fcn.4305fbbc
test eax, eax
jne 0x4305fcf4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4305fccb
sub eax, edx
sar eax, 1
push ebx
push dword [ebp - 0x214]
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call edi
cmp eax, esi
jb 0x4305fcf4
xor eax, eax
jmp 0x4305fcf7
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.430364bf
leave
ret
Function at 0x43060d56
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x22c
mov eax, 0x43068466
call fcn.43065fef
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], edi
push 0x43061020
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x43060d98
push 0x8007000e
call fcn.43046072
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebx]
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0xd
push 0x43061004
push edi
push 0x43043bac
push ebx
mov dword [ebp - 0x238], 0x104
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
call dword [eax + 0x38]
mov esi, eax
cmp esi, edi
jl 0x43060f86
mov ecx, dword [ebp - 0x228]
cmp word [ecx], 0x2e
mov eax, ecx
je 0x43060e23
xor edx, edx
mov esi, edx
sar esi, 1
cmp esi, dword [ebp - 0x21c]
jge 0x43060e23
add eax, 2
add edx, 2
cmp word [eax], 0x2e
jne 0x43060e0b
sub eax, ecx
sar eax, 1
push eax
push ecx
lea edi, [ebp - 0x220]
mov dword [ebp - 0x21c], eax
call fcn.43032d87
mov esi, eax
test esi, esi
js 0x43060f86
mov esi, 0x43044320
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call fcn.43032d87
mov esi, eax
test esi, esi
js 0x43060f86
mov eax, dword [ebx]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 7
push 0x43060fe4
push 0
push 0x43043bac
push ebx
call dword [eax + 0x38]
mov esi, eax
test esi, esi
js 0x43060f86
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
call fcn.43032d87
mov esi, eax
test esi, esi
js 0x43060f86
mov eax, dword [ebx]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0x10
push 0x43060fc0
push 0
push 0x43043bac
push ebx
call dword [eax + 0x38]
mov esi, eax
test esi, esi
js 0x43060f86
push dword [ebp - 0x21c]
lea edi, [ebp - 0x224]
push dword [ebp - 0x228]
call fcn.43032d87
mov esi, eax
test esi, esi
js 0x43060f86
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push dword [ebp - 0x220]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43060f84
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push 0x43060ff4
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43060f84
cmp dword [ebp - 0x230], 1
jne 0x43060f84
push dword [ebp - 0x224]
lea eax, [ebp - 0x218]
call fcn.4306107a
mov esi, eax
test esi, esi
js 0x43060f86
cmp esi, 1
je 0x43060f84
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ecx + 8]
and dword [ebp - 0x224], 0
mov dword [ecx + 0x14], eax
jmp 0x43060f86
xor esi, esi
cmp dword [ebp - 0x22c], 0
je 0x43060f9b
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x220]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x224]
call edi
mov eax, esi
call fcn.43066025
ret 4
Function at 0x43063f01
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
and dword [ebp - 4], ebx
push ebx
push 0x43063fa0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43063f63
and dword [ebp - 8], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x43063f78
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43063f63
cmp dword [ebp - 0x10], 4
jne 0x43063f63
cmp dword [ebp - 8], 1
jne 0x43063f63
inc ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test ebx, ebx
setne al
pop ebx
leave
ret
Function at 0x4306424c
Capabilities:
Check if file exists
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4306c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x224], eax
cmp eax, ebx
jne 0x4306427b
mov eax, 0x80004003
jmp 0x430643d6
push edi
mov dword [eax], ebx
xor eax, eax
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], ax
mov word [ebp - 8], ax
mov edi, 0x104
push edi
lea eax, [ebp - 0x218]
push eax
push ecx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
jne 0x430642cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x430643d5
and eax, 0xffff
or eax, 0x80070000
jmp 0x430643d5
cmp eax, edi
jne 0x430642dd
mov eax, 0x8007007a
jmp 0x430643d5
lea eax, [ebp - 0x218]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
cmp eax, ebx
jne 0x430642fc
mov eax, 0x8000ffff
jmp 0x430643d5
push esi
add eax, 2
lea esi, [ebp - 0x220]
mov dword [ebp - 0x21c], eax
call fcn.43064438
test eax, eax
js 0x43064335
mov eax, dword [ebp - 0x220]
test ax, ax
je 0x43064335
mov word [ebp - 0x10], ax
and eax, 0x3ff
or eax, 0x400
push 2
mov word [ebp - 0xe], ax
pop ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [ebp + ebx*2 - 0x10], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov word [ebp + ebx*2 - 0xe], ax
mov eax, 0x409
mov word [ebp + ebx*2 - 0xc], ax
add ebx, 3
cmp ebx, 5
jbe 0x43064367
mov eax, 0x8000ffff
jmp 0x430643d4
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
sub edi, eax
xor esi, esi
test ebx, ebx
jle 0x430643cf
movzx eax, word [ebp + esi*2 - 0x10]
push 0x43064408
push eax
push 0x4306442c
push edi
push edi
push dword [ebp - 0x21c]
call dword [sym.imp.MSVCR100.dll__snwprintf_s]
add esp, 0x18
test eax, eax
js 0x430643e5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x430643ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x430643ca
cmp eax, 3
je 0x430643ca
cmp eax, 0x7e
jne 0x430643f8
inc esi
cmp esi, ebx
jl 0x4306437f
mov eax, 0x80004005
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.430364bf
leave
ret 4
mov eax, 0x8007007a
jmp 0x430643d4
mov ecx, dword [ebp - 0x224]
mov dword [ecx], eax
xor eax, eax
jmp 0x430643d4
test eax, eax
jle 0x430643d4
and eax, 0xffff
or eax, 0x80070000
jmp 0x430643d4
Function at 0x4306574b
Capabilities:
Check if file exists
Load windows common language runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x43065792
and dword [edi], 0
push esi
lea eax, [ebp - 4]
call fcn.43050d71
push 0x430657f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x430657a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43065799
cmp eax, 0x7e
je 0x43065799
test eax, eax
jle 0x4306578e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x430657d4
mov eax, 0x80004003
leave
ret
mov esi, 0x80040641
jmp 0x430657d4
push 0x4306580c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x430657b5
xor esi, esi
inc esi
jmp 0x430657d4
lea ecx, [ebp - 4]
push ecx
push 0x43065820
push 0x430657e4
call eax
mov esi, eax
test esi, esi
js 0x430657d4
mov eax, dword [ebp - 4]
and dword [ebp - 4], 0
mov dword [edi], eax
lea eax, [ebp - 4]
call fcn.4305a635
mov eax, esi
pop esi
leave
ret

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 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x22080a0a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x426578a9
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219

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 0x100136a0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [0x1004b07c]
movzx ecx, word [eax + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
lea esi, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
lea edx, [eax + eax*4]
lea ebx, [esi + edx*8]
cmp esi, ebx
push edi
jae 0x100136dc
mov edi, esi
push 8
push edi
push ebp
add esi, 0x28
call fcn.1001926a
add esp, 0xc
test eax, eax
je 0x100136e3
cmp esi, ebx
jb 0x100136c3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10013930
Capabilities:
Enumerate process modules

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push 0
push 8
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10013991
push esi
push edi
mov dword [esi], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1001398a
lea ebx, [ebx]
mov eax, dword [esi + 0x14]
cmp eax, ebp
ja 0x10013970
mov ecx, dword [esi + 0x18]
add ecx, eax
cmp ebp, ecx
jbe 0x10013988
push esi
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10013960
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov al, bl
pop ebx
ret
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov al, bl
pop ebx
ret

Function at 0x10015e70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
push edi
xor esi, esi
xor ebp, ebp
xor edi, edi
xor eax, eax
lea esp, [esp]
mov byte [eax + ecx], al
add eax, 1
cmp eax, 0x100
jb 0x10015e80
mov dword [ecx + 0x104], esi
mov dword [ecx + 0x100], esi
lea esp, [esp]
mov al, byte [esi + ecx]
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + ebp]
movzx ebx, al
add ebx, edi
add edx, ebx
and edx, 0xff
mov edi, edx
movzx edx, byte [edi + ecx]
mov byte [esi + ecx], dl
mov byte [edi + ecx], al
lea eax, [ebp + 1]
xor edx, edx
div dword [esp + 0x18]
add esi, 1
cmp esi, 0x100
mov ebp, edx
jb 0x10015ea0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret 8

Function at 0x10015f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x10015fa4
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ecx + 0x100]
add eax, 1
and eax, 0xff
mov dword [ecx + 0x100], eax
movzx edx, byte [eax + ecx]
add edx, dword [ecx + 0x104]
mov edi, edx
and edi, 0xff
mov dword [ecx + 0x104], edi
mov dl, byte [eax + ecx]
mov bl, byte [edi + ecx]
mov byte [eax + ecx], bl
mov eax, dword [ecx + 0x104]
mov byte [ecx + eax], dl
mov edx, dword [ecx + 0x104]
movzx eax, byte [edx + ecx]
mov edx, dword [ecx + 0x100]
movzx edx, byte [edx + ecx]
add eax, edx
and eax, 0x800000ff
jns 0x10015f92
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [eax + ecx]
xor byte [esi + ebp], al
add esi, 1
cmp esi, dword [esp + 0x18]
jb 0x10015f30
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x100168b0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x100169b0
Capabilities:
Encode data using base64

Disassembly:
test ecx, ecx
push edi
mov edi, dword [esp + 8]
jbe 0x10016b65
push ebx
push ebp
push esi
mov esi, eax
lea ebp, [ecx - 1]
shr ebp, 2
add esi, 2
add ebp, 1
mov al, 0x3d
mov cl, byte [esi - 2]
mov dl, cl
sub dl, 0x41
cmp dl, 0x19
ja 0x100169e5
movsx ecx, cl
sub ecx, 0x41
jmp 0x10016a25
mov dl, cl
sub dl, 0x61
cmp dl, 0x19
ja 0x100169f7
movsx ecx, cl
sub ecx, 0x47
jmp 0x10016a25
mov dl, cl
sub dl, 0x30
cmp dl, 9
ja 0x10016a09
movsx ecx, cl
add ecx, 4
jmp 0x10016a25
cmp cl, 0x2b
jne 0x10016a15
mov ecx, 0x3e
jmp 0x10016a25
xor edx, edx
cmp cl, 0x2f
setne dl
sub edx, 1
and edx, 0x3f
mov ecx, edx
shl ecx, 0x12
mov edx, ecx
mov cl, byte [esi - 1]
mov bl, cl
sub bl, 0x41
cmp bl, 0x19
ja 0x10016a3f
movsx ecx, cl
sub ecx, 0x41
jmp 0x10016a7f
mov bl, cl
sub bl, 0x61
cmp bl, 0x19
ja 0x10016a51
movsx ecx, cl
sub ecx, 0x47
jmp 0x10016a7f
mov bl, cl
sub bl, 0x30
cmp bl, 9
ja 0x10016a63
movsx ecx, cl
add ecx, 4
jmp 0x10016a7f
cmp cl, 0x2b
jne 0x10016a6f
mov ecx, 0x3e
jmp 0x10016a7f
xor ebx, ebx
cmp cl, 0x2f
setne bl
sub ebx, 1
and ebx, 0x3f
mov ecx, ebx
shl ecx, 0xc
or edx, ecx
mov cl, byte [esi]
mov bl, cl
sub bl, 0x41
cmp bl, 0x19
ja 0x10016a98
movsx ecx, cl
sub ecx, 0x41
jmp 0x10016ad8
mov bl, cl
sub bl, 0x61
cmp bl, 0x19
ja 0x10016aaa
movsx ecx, cl
sub ecx, 0x47
jmp 0x10016ad8
mov bl, cl
sub bl, 0x30
cmp bl, 9
ja 0x10016abc
movsx ecx, cl
add ecx, 4
jmp 0x10016ad8
cmp cl, 0x2b
jne 0x10016ac8
mov ecx, 0x3e
jmp 0x10016ad8
xor ebx, ebx
cmp cl, 0x2f
setne bl
sub ebx, 1
and ebx, 0x3f
mov ecx, ebx
shl ecx, 6
or edx, ecx
mov cl, byte [esi + 1]
mov bl, cl
sub bl, 0x41
cmp bl, 0x19
ja 0x10016af2
movsx ecx, cl
sub ecx, 0x41
jmp 0x10016b32
mov bl, cl
sub bl, 0x61
cmp bl, 0x19
ja 0x10016b04
movsx ecx, cl
sub ecx, 0x47
jmp 0x10016b32
mov bl, cl
sub bl, 0x30
cmp bl, 9
ja 0x10016b16
movsx ecx, cl
add ecx, 4
jmp 0x10016b32
cmp cl, 0x2b
jne 0x10016b22
mov ecx, 0x3e
jmp 0x10016b32
xor ebx, ebx
cmp cl, 0x2f
setne bl
sub ebx, 1
and ebx, 0x3f
mov ecx, ebx
or edx, ecx
mov ecx, edx
shr ecx, 0x10
mov byte [edi], cl
add edi, 1
cmp byte [esi], al
je 0x10016b4c
mov ecx, edx
shr ecx, 8
mov byte [edi], cl
add edi, 1
cmp byte [esi + 1], al
je 0x10016b56
mov byte [edi], dl
add edi, 1
add esi, 4
sub ebp, 1
jne 0x100169d0
pop esi
pop ebp
pop ebx
mov eax, edi
sub eax, dword [esp + 8]
pop edi
ret

Function at 0x10017b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0x1003e680
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x10017bbb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx], eax
jbe 0x10017bbb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10017bbb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp], eax
je 0x10017bbb
pop esi
xor eax, eax
pop ebp
ret
mov dword [ebp], 0
pop esi
mov dword [ebx], 0
or eax, 0xffffffff
pop ebp
ret
Function at 0x1001a911
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10048340]
jne 0x1001a91b
repz ret
jmp fcn.10025e47

Function at 0x10038087
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1001c1ca
xor ebx, ebx
cmp dword [0x1004bb54], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1003815c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x100380c7
xor eax, eax
jmp 0x10038220
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x100380c0
push eax
call fcn.1001c167
mov dword [esp], 0x10043e58
push edi
mov dword [0x1004bb54], eax
call esi
push eax
call fcn.1001c167
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004bb58], eax
call esi
push eax
call fcn.1001c167
mov dword [0x1004bb5c], eax
lea eax, [ebp - 8]
push eax
call fcn.1001f94b
test eax, eax
pop ecx
pop ecx
je 0x1003812a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001907d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1003815c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1001c167
cmp eax, ebx
pop ecx
mov dword [0x1004bb64], eax
je 0x1003815c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001c167
pop ecx
mov dword [0x1004bb60], eax
mov eax, dword [0x1004bb60]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x100381d5
cmp dword [0x1004bb64], esi
je 0x100381d5
push eax
call fcn.1001c1d3
pop ecx
call eax
cmp eax, ebx
je 0x100381a2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1004bb64]
call fcn.1001c1d3
pop ecx
call eax
test eax, eax
je 0x100381a2
test byte [ebp - 0x18], 1
jne 0x100381d5
lea eax, [ebp - 0xc]
push eax
call fcn.1001f9fa
test eax, eax
pop ecx
je 0x100381bd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001907d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x100381cc
or dword [ebp + 0x10], 0x200000
jmp 0x10038206
or dword [ebp + 0x10], 0x40000
jmp 0x10038206
mov eax, dword [0x1004bb58]
cmp eax, esi
je 0x10038206
push eax
call fcn.1001c1d3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10038206
mov eax, dword [0x1004bb5c]
cmp eax, esi
je 0x10038206
push dword [ebp - 4]
push eax
call fcn.1001c1d3
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1004bb54]
call fcn.1001c1d3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x452c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x33000]
push edi
or ebp, 0xffffffff
jmp 0x452cb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x452cb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x452ca8
mov eax, 1
add ebx, ebx
jne 0x452ccb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x452cdc
jne 0x452cec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x452cec
dec eax
add ebx, ebx
jne 0x452ce8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x452cc0
xor ecx, ecx
sub eax, 3
jb 0x452d04
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x452d76
sar eax, 1
mov ebp, eax
jmp 0x452d0f
add ebx, ebx
jne 0x452d0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x452d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x452d40
inc ecx
add ebx, ebx
jne 0x452d2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x452d21
jne 0x452d3d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x452d21
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x452d60
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x452d51
jmp 0x452cae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x452d60
add edi, ecx
jmp 0x452cae
pop esi
mov edi, esi
mov ecx, 0x1593
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x452d7e
cmp byte [edi], 9
jne 0x452d7e
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 eax, ebx
loop 0x452d83
lea edi, [esi + 0x4f000]
mov eax, dword [edi]
or eax, eax
je 0x452df2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x53a14]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53adc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x452db0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x53ae0]
or eax, eax
je 0x452dec
mov dword [ebx], eax
add ebx, 4
jmp 0x452dcd
call dword [esi + 0x53ae4]
popal
jmp 0x42ac34