joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002f0e9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
mov eax, dword [0x1003c0a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 0
mov byte [esp + 0xf], 0
call fcn.10003430
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.10003430
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.10002ea0
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
setne cl
mov ebx, 1
mov byte [esp + 0x24], 2
mov dword [esp + 0x14], ebx
test ecx, ecx
jne 0x100076a5
push 0x80004005
call fcn.10001f30
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.1001cef2
add esp, 8
test eax, eax
sete al
test al, al
jne 0x10007708
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 0xc]
cmp eax, 0xe
jl 0x10007701
push 0xe
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.10002ea0
mov eax, dword [eax]
mov ebx, 3
test eax, eax
je 0x10007701
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], 0
jl 0x10007701
push eax
push ecx
call fcn.1001d78f
add esp, 8
test eax, eax
je 0x10007701
sub eax, dword [esp + 0xc]
jns 0x10007708
mov byte [esp + 0x2c], 0
jmp 0x1000770d
mov byte [esp + 0x2c], 1
test bl, 2
je 0x10007739
mov eax, dword [esp + 0x30]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 1
test bl, 1
je 0x10007766
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007766
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2c], 0
mov bl, 1
jne 0x10007773
mov bl, byte [esp + 0xb]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007798
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100077c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x10010c20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, 0x811c9dc5
test esi, esi
je 0x10010c51
mov edx, dword [esp + 0xc]
xor ecx, ecx
test edx, edx
jbe 0x10010c51
push edi
lea esp, [esp]
movsx edi, byte [ecx + esi]
add eax, 0x1000193
inc ecx
xor eax, edi
cmp ecx, edx
jb 0x10010c40
pop edi
pop esi
ret

Function at 0x10010cf0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x1003c0a0]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
mov esi, 0x100
call fcn.1001c390
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10010d37
xor esi, esi
cmp dword [esp + 8], 5
jne 0x10010d5d
cmp dword [esp + 0xc], 0
jne 0x10010d5d
xor eax, eax
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call main
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
mov eax, esi
pop esi
xor ecx, esp
call main
add esp, 0xa0
ret

Function at 0x10010e40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push ecx
push edx
call fcn.10010d80
add esp, 0x14
test eax, eax
jne 0x10010f97
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push 0
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ebx, eax
test edi, edi
je 0x10010eb8
cmp dword [ebp], esi
jae 0x10010eb8
mov ecx, dword [esp + 0x14]
push ecx
mov ebx, 0xea
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x18
test ebx, ebx
jne 0x10010f86
test edi, edi
je 0x10010f83
mov ecx, dword [ebp]
push ecx
push ebx
push edi
call fcn.1001c390
push 0xa4
inc esi
push 0x10031c90
push esi
mov dword [esp + 0x30], esi
call fcn.10010c60
mov esi, eax
add esp, 0x18
test esi, esi
je 0x10010f6a
mov edx, dword [esp + 0x18]
push edx
push ebx
push esi
call fcn.1001c390
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x10010f43
mov ecx, dword [ebp]
push ecx
push eax
push edi
call fcn.1001c390
mov edx, dword [esp + 0x24]
push edx
push esi
push edi
call fcn.1001c010
mov eax, dword [esp + 0x30]
add esp, 0x18
mov dword [ebp], eax
push 0xb5
push 0x10031c90
push esi
call fcn.10010c90
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x18
mov ecx, dword [esp + 0x14]
push ecx
mov ebx, 0x7a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x18
mov dword [ebp], esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x18
Function at 0x100110f0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x1002fd38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003c0a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 2
lea edi, [esi + 4]
push ebx
mov dword [esi], ebx
mov dword [edi], ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x10011259
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov byte [esi + 0xd], 1
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x10011161
cmp eax, 0x80010119
jne 0x10011208
mov ebp, dword [sym.imp.ole32.dll_CoCreateInstance]
push esi
push 0x10034cf0
push 1
push ebx
push 0x10034dc0
call ebp
cmp eax, ebx
jl 0x10011208
lea eax, [esi + 8]
push eax
push 0x10034c5c
push 1
push ebx
push 0x10034c4c
call ebp
push str.ROOTCIMV2
lea ecx, [esp + 0x1c]
call fcn.10010ff0
mov eax, dword [eax]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x100111ae
mov ecx, dword [eax]
jmp 0x100111b0
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x18]
mov ebp, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.100110a0
cmp ebp, ebx
jl 0x100111fc
mov eax, dword [edi]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x10011210
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x10011259
mov ebp, dword [esp + 0x2c]
mov byte [esi + 0xc], 1
cmp ebp, ebx
je 0x10011259
mov edi, dword [edi]
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x10034c3c
push edi
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x10011259
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x10011259
mov edx, dword [eax]
push ebp
push 0x10034c3c
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x1001c375
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003c0a0]
jne 0x1001c37f
repz ret
jmp fcn.10020b21
Function at 0x1002c9b5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10021a38
and dword [ebp - 4], 0
cmp dword [0x10040104], 0
mov ebx, eax
jne 0x1002ca66
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1002cb17
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10034bfc
push edi
call esi
test eax, eax
je 0x1002cb17
push eax
call fcn.100219c6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10040104], eax
call esi
push eax
call fcn.100219c6
mov dword [esp], 0x10034bd8
push edi
mov dword [0x10040108], eax
call esi
push eax
call fcn.100219c6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1004010c], eax
call esi
push eax
call fcn.100219c6
pop ecx
mov dword [0x10040114], eax
test eax, eax
je 0x1002ca66
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100219c6
pop ecx
mov dword [0x10040110], eax
mov eax, dword [0x10040110]
cmp eax, ebx
je 0x1002cabe
cmp dword [0x10040114], ebx
je 0x1002cabe
push eax
call fcn.10021a41
push dword [0x10040114]
mov esi, eax
call fcn.10021a41
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002cabe
test edi, edi
je 0x1002cabe
call esi
test eax, eax
je 0x1002cab5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1002cab5
test byte [ebp - 0xc], 1
jne 0x1002cabe
or dword [ebp + 0x10], 0x200000
jmp 0x1002caf7
mov eax, dword [0x10040108]
cmp eax, ebx
je 0x1002caf7
push eax
call fcn.10021a41
pop ecx
test eax, eax
je 0x1002caf7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1002caf7
mov eax, dword [0x1004010c]
cmp eax, ebx
je 0x1002caf7
push eax
call fcn.10021a41
pop ecx
test eax, eax
je 0x1002caf7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10040104]
call fcn.10021a41
pop ecx
test eax, eax
je 0x1002cb17
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1002cb19
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x35c55806
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5a2a09bd
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x415fd6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406250
mov eax, dword [0x42b080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00413af0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x416018
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x416174
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00420020
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482608]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004163fc
mov ecx, dword [esi*4 + 0x482608]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41616d
cmp eax, dword [edi + ecx + 0x24]
jne 0x41616d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41616d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004163fc
add esp, 0x14
test edx, edx
jl 0x41616d
jg 0x4160e3
test eax, eax
jb 0x41616d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41616d
jl 0x4160fd
cmp dword [ebp - 0x1008], eax
ja 0x41616d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41611b
test ebx, ebx
je 0x416154
cmp ecx, edi
jae 0x416154
mov al, byte [ecx]
cmp al, 0xd
jne 0x416135
lea eax, [edi - 1]
cmp ecx, eax
jae 0x416141
cmp byte [ecx + 1], 0xa
jne 0x416141
inc ecx
jmp 0x416141
movzx eax, al
movsx eax, byte [eax + 0x42ba00]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41611b
cmp edx, ebx
jne 0x41611b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x416172
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00405204
leave
ret
Function at 0x41ce13
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482608]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ce53
cmp byte [ebx], 0xa
jne 0x41ce53
or byte [eax + edi + 0x28], 4
jmp 0x41ce58
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41cf56
mov al, byte [edx]
cmp al, 0x1a
je 0x41cf38
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ce87
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ceac
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ceb6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41ce69
jmp 0x41cf56
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41cf33
cmp dword [ebp - 0xc], 0
je 0x41cf33
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482608]
test byte [eax + edi + 0x28], 0x48
je 0x41cf0d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41cef8
mov byte [esi], dl
jmp 0x41cf09
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482608]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41cf56
cmp byte [ebp - 1], 0xa
jne 0x41cf1c
cmp esi, ebx
jne 0x41cf1c
mov byte [esi], 0xa
jmp 0x41cf55
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041641a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41cf56
mov byte [esi], 0xd
jmp 0x41cf55
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482608]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41cf52
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41cf56
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41cf5f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x482608]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41cfa2
cmp word [esi], dx
jne 0x41cfa2
or byte [edi + eax + 0x28], 4
jmp 0x41cfa7
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d0fa
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d0da
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41cfe9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d01f
cmp eax, edx
jae 0x41d02b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41cfc1
jmp 0x41d0fa
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d0d6
cmp dword [ebp - 0x14], 0
je 0x41d0d6
mov eax, dword [ebx*4 + 0x482608]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d0ae
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d077
mov word [esi], cx
jmp 0x41d0aa
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482608]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482608]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482608]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d0fa
pop ebx
cmp word [ebp - 4], bx
jne 0x41d0bf
cmp esi, dword [ebp + 0xc]
jne 0x41d0bf
mov word [esi], bx
jmp 0x41d0f7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041641a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d0fa
push 0xd
jmp 0x41d0f3
mov ecx, dword [ebx*4 + 0x482608]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d0f1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d0fa
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

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

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x76510d4d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x49be62fe
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7c495d7e
nop
test eax, eax
nop
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
inc eax
nop
nop
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, 0x31ff0dce
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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