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

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x101948c0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6ced277d
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cec9743
push 0xffffffffffffffff
call fcn.1018b7ea
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10194654
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1019466c
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x101948b4
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10194888
Function at 0x101a40ba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x101a40dc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x101a40dc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x101a40dc
ret
cmp word [ebx + 4], 0x14c
jne 0x101a40dc
test word [ebx + 0x16], 2
je 0x101a40dc
test word [ebx + 0x16], 0x100
je 0x101a40dc
cmp word [ebx + 0x18], 0x10b
jne 0x101a40dc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x101a40dc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x101a4168
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x101a40fc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1018b047
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x101a40dc
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x101a4168
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x101a40dc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x101a40dc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x101a40dc
ret
cmp word [ebx + 4], 0x14c
jne 0x101a40dc
test word [ebx + 0x16], 2
je 0x101a40dc
test word [ebx + 0x16], 0x100
je 0x101a40dc
cmp word [ebx + 0x18], 0x10b
jne 0x101a40dc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x101a40dc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x101a4168
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x101a40fc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1018b047
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x101a40dc
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x101a421f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x101a4278
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x101a421f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x101a422e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x105a9ed1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x101a427f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1018b0f5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x101a431e
add edi, 4
add eax, 2
dec ecx
jne 0x101a4264
call 0x101a42cb
loope 0x101a42c1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x101a431b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x101a432c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x101a42df
cmp eax, ecx
ja 0x101a42df
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x101a4369
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x101a435f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1018b5d4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x101a422e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x101a4278
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x101a421f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x101a422e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x105a9ed1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x101a427f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1018b0f5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x101a431e
add edi, 4
add eax, 2
dec ecx
jne 0x101a4264
call 0x101a42cb
loope 0x101a42c1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x101a431b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x101a432c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x101a42df
cmp eax, ecx
ja 0x101a42df
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x101a4369
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x101a435f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1018b5d4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x723bf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x225000]
push edi
or ebp, 0xffffffff
jmp 0x723c12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x723c19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x723c08
mov eax, 1
add ebx, ebx
jne 0x723c2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x723c3c
jne 0x723c5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x723c5b
dec eax
add ebx, ebx
jne 0x723c48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x723c20
add ebx, ebx
jne 0x723c57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x723cad
xor ecx, ecx
sub eax, 3
jb 0x723c73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x723ce2
sar eax, 1
mov ebp, eax
jmp 0x723c7e
add ebx, ebx
jne 0x723c7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x723c4c
inc ecx
add ebx, ebx
jne 0x723c8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x723c4c
add ebx, ebx
jne 0x723c99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x723c8e
jne 0x723caa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x723c8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x723ccc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x723cbe
jmp 0x723c0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x723ccc
add edi, ecx
jmp 0x723c0e
pop esi
mov edi, esi
mov ecx, 0x43af
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x723cea
cmp byte [edi], 0x22
jne 0x723cea
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 al, bl
loop 0x723cef
lea edi, [esi + 0x320000]
mov eax, dword [edi]
or eax, eax
je 0x723d67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3422d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3423f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x723d1c
mov ecx, edi
jns 0x723d4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x342400]
or eax, eax
je 0x723d61
mov dword [ebx], eax
add ebx, 4
jmp 0x723d39
call dword [esi + 0x3423fc]
mov ebp, dword [esi + 0x342404]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x723d9b
sub esp, 0xffffff80
jmp 0x48bfb5
Function at 0x40e7f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a2ac
xor eax, eax
push ebp
push 0x40e8b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b318
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b318
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov eax, ebx
call fcn.0040a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e8b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x4103b4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x414d98
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
or ebx, 0x9624
add ebx, 0x9212
pop ebx
push ecx
push edx
add esp, 4
sub ecx, 0x179bc
xor ecx, 0x56d5
pop ecx
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x260], edx
jmp 0x414dd4

Function at 0x414e2a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x260]
add eax, 1
mov dword [ebp - 0x260], eax
push eax
and eax, 0x164c0
pop eax
push edi
push ecx
add esp, 4
sub edi, 0x162af
pop edi
push edi
push ecx
add esp, 4
sub edi, 0x3ae5
cmp al, byte [eax]
add byte [ecx + 0x2bfbcf], al
add byte [ecx + 0x670cc7], al
add byte [ecx + 0x1779cc7], al
add byte [edi - 0x75], bl
lea esp, [eax + 0x2bfffffd]
invalid
enter 0xfffffffffffffffd, 0xffffffffffffffff
cmp ecx, 0xffffffff
jb 0x414e4e
push edi
push esi
add esp, 4
call 0x414e2a
add byte [ebx + 0x3a], al
dec ebp
cmp byte [edx], bh
cmp byte [edx], bh
xor eax, dword [ebx + 0x5eb04c4]
dec esp
xor bh, byte [edi + edi]
xor eax, 0xb4a6c781
add byte [eax], al
pop edi
push edx
sub edx, 0x1226
or edx, 0x176d2
pop edx
jmp 0x41504a
mov dword [ebp - 0x6a0], 7
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x60c], edx
push ecx
xor ecx, 0xddd8
and ecx, 0xeee3
and ecx, 0x1101d
pop ecx
push edx
push edi
add esp, 4
add edx, 0x1146e
pop edx
push edi
push ecx
add esp, 4
add edi, 0x1412e
add edi, 0x13668
pop edi
mov eax, dword [ebp - 0xb48]
mov dword [ebp - 0x610], eax
mov dword [ebp - 0x6a4], 0
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0xb48]
jne 0x414ecb
mov edx, dword [ebp - 0x6a4]
mov dword [ebp - 0xb50], edx
jmp 0x414ffc
mov dword [ebp - 0xb4c], 1
jmp 0x414f7e
Function at 0x414ef4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0x6a0], 0
jle IsWow64Process
push eax
push eax
add esp, 4
xor eax, 0x12f8c
pop eax
push esi
call 0x414ef4
add byte [ebx + 0x3f], cl
dec eax
inc esi
inc eax
inc eax
inc esi
dec edi
inc ebx
add esp, 4
xor esi, 0x38ae
sub esi, 0xfc07
add esi, 0x154fd
pop esi
mov eax, dword [ebp - 0x60c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x610]
movzx eax, byte [edx]
cmp ecx, eax
je 0x414f8c
push edx
jmp 0x414f27
or edx, 0xfe5f
pop edx
push edx
add edx, 0x13bba
and edx, 0x2c6b
sub al, 0
add byte [edx + 0x56], bl
and esi, 0xbd20
pop esi
push eax
sub eax, 0xb841
sub eax, 0x740c
invalid
pop eax
mov ecx, dword [ebp - 0x60c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x610]
movzx ecx, byte [eax]
cmp edx, ecx
jle 0x414f74
mov dword [ebp - 0xb4c], 0xffffffff
invalid
xchg ebp, eax
mov edx, dword [ebp - 0x610]
add edx, 1
mov dword [ebp - 0x610], edx
jmp 0x414ecb

Function at 0x414f48
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0x6a0], 0
jle IsWow64Process
push eax
push eax
add esp, 4
xor eax, 0x12f8c
pop eax
push esi
call 0x414ef4
add byte [ebx + 0x3f], cl
dec eax
inc esi
inc eax
inc eax
inc esi
dec edi
inc ebx
add esp, 4
xor esi, 0x38ae
sub esi, 0xfc07
add esi, 0x154fd
pop esi
mov eax, dword [ebp - 0x60c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x610]
movzx eax, byte [edx]
cmp ecx, eax
je 0x414f8c
push edx
jmp 0x414f27
or edx, 0xfe5f
pop edx
push edx
add edx, 0x13bba
and edx, 0x2c6b
sub al, 0
add byte [edx + 0x56], bl
and esi, 0xbd20
pop esi
push eax
sub eax, 0xb841
sub eax, 0x740c
invalid
pop eax
mov ecx, dword [ebp - 0x60c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x610]
movzx ecx, byte [eax]
cmp edx, ecx
jle 0x414f74
mov dword [ebp - 0xb4c], 0xffffffff
invalid
xchg ebp, eax
mov edx, dword [ebp - 0x610]
add edx, 1
mov dword [ebp - 0x610], edx
jmp 0x414ecb
Function at 0x414f68
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x260]
add eax, 1
mov dword [ebp - 0x260], eax
push eax
and eax, 0x164c0
pop eax
push edi
push ecx
add esp, 4
sub edi, 0x162af
pop edi
push edi
push ecx
add esp, 4
sub edi, 0x3ae5
cmp al, byte [eax]
add byte [ecx + 0x2bfbcf], al
add byte [ecx + 0x670cc7], al
add byte [ecx + 0x1779cc7], al
add byte [edi - 0x75], bl
lea esp, [eax + 0x2bfffffd]
invalid
enter 0xfffffffffffffffd, 0xffffffffffffffff
cmp ecx, 0xffffffff
jb 0x414e4e
push edi
push esi
add esp, 4
call 0x414e2a
add byte [ebx + 0x3a], al
dec ebp
cmp byte [edx], bh
cmp byte [edx], bh
xor eax, dword [ebx + 0x5eb04c4]
dec esp
xor bh, byte [edi + edi]
xor eax, 0xb4a6c781
add byte [eax], al
pop edi
push edx
sub edx, 0x1226
or edx, 0x176d2
pop edx
jmp 0x41504a
mov dword [ebp - 0x6a0], 7
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x60c], edx
push ecx
xor ecx, 0xddd8
and ecx, 0xeee3
and ecx, 0x1101d
pop ecx
push edx
push edi
add esp, 4
add edx, 0x1146e
pop edx
push edi
push ecx
add esp, 4
add edi, 0x1412e
add edi, 0x13668
pop edi
mov eax, dword [ebp - 0xb48]
mov dword [ebp - 0x610], eax
mov dword [ebp - 0x6a4], 0
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0xb48]
jne 0x414ecb
mov edx, dword [ebp - 0x6a4]
mov dword [ebp - 0xb50], edx
jmp 0x414ffc
mov dword [ebp - 0xb4c], 1
jmp 0x414f7e

Function at 0x414fdc
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0x6a0], 0
jle IsWow64Process
push eax
push eax
add esp, 4
xor eax, 0x12f8c
pop eax
push esi
call 0x414ef4
add byte [ebx + 0x3f], cl
dec eax
inc esi
inc eax
inc eax
inc esi
dec edi
inc ebx
add esp, 4
xor esi, 0x38ae
sub esi, 0xfc07
add esi, 0x154fd
pop esi
mov eax, dword [ebp - 0x60c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x610]
movzx eax, byte [edx]
cmp ecx, eax
je 0x414f8c
push edx
jmp 0x414f27
or edx, 0xfe5f
pop edx
push edx
add edx, 0x13bba
and edx, 0x2c6b
sub al, 0
add byte [edx + 0x56], bl
and esi, 0xbd20
pop esi
push eax
sub eax, 0xb841
sub eax, 0x740c
invalid
pop eax
mov ecx, dword [ebp - 0x60c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x610]
movzx ecx, byte [eax]
cmp edx, ecx
jle 0x414f74
mov dword [ebp - 0xb4c], 0xffffffff
invalid
xchg ebp, eax
mov edx, dword [ebp - 0x610]
add edx, 1
mov dword [ebp - 0x610], edx
jmp 0x414ecb
Function at 0x415774
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
push ebx
jmp 0x41577f
sub ebx, 0x12057
pop ebx
push eax
push eax
add esp, 4
or eax, 0xfa78
pop eax
lea eax, [ebp - 0xca8]
mov dword [ebp - 0x6b8], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x6b4], edx
xor eax, eax
mov word [ebp - 0x118], ax
xor ecx, ecx
mov word [ebp - 0x2c], cx
push edi
or edi, 0xd225
add edi, 0x18517
or edi, 0x15592
pop edi
push edx
sub edx, 0x14481
pop edx
push eax
and eax, 0x11fd8
jmp 0x4157e4
jmp 0x4157ed
pop eax
mov edx, dword [ebp - 0x6b4]
mov ax, word [edx]
mov word [ebp - 0x876], ax
mov ecx, dword [ebp - 0x6b4]
add ecx, 2
mov dword [ebp - 0x6b4], ecx
mov dx, word [ebp - 0x876]
mov word [ebp - 0x118], dx
mov eax, dword [ebp - 0x6b8]
mov cx, word [eax]
mov word [ebp - 0x878], cx
mov edx, dword [ebp - 0x6b8]
add edx, 2
mov dword [ebp - 0x6b8], edx
mov ax, word [ebp - 0x878]
mov word [ebp - 0x2c], ax
push ebx
jmp 0x41584c
call 0x41585b
add byte [ebx], dh
inc eax
cmp al, 0x39
cmp al, 0x3f
xor bh, byte [eax*2 - 0x7efb3b7d]
retf

Function at 0x41585b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
push ebx
jmp 0x41577f
sub ebx, 0x12057
pop ebx
push eax
push eax
add esp, 4
or eax, 0xfa78
pop eax
lea eax, [ebp - 0xca8]
mov dword [ebp - 0x6b8], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x6b4], edx
xor eax, eax
mov word [ebp - 0x118], ax
xor ecx, ecx
mov word [ebp - 0x2c], cx
push edi
or edi, 0xd225
add edi, 0x18517
or edi, 0x15592
pop edi
push edx
sub edx, 0x14481
pop edx
push eax
and eax, 0x11fd8
jmp 0x4157e4
jmp 0x4157ed
pop eax
mov edx, dword [ebp - 0x6b4]
mov ax, word [edx]
mov word [ebp - 0x876], ax
mov ecx, dword [ebp - 0x6b4]
add ecx, 2
mov dword [ebp - 0x6b4], ecx
mov dx, word [ebp - 0x876]
mov word [ebp - 0x118], dx
mov eax, dword [ebp - 0x6b8]
mov cx, word [eax]
mov word [ebp - 0x878], cx
mov edx, dword [ebp - 0x6b8]
add edx, 2
mov dword [ebp - 0x6b8], edx
mov ax, word [ebp - 0x878]
mov word [ebp - 0x2c], ax
push ebx
jmp 0x41584c
call 0x41585b
add byte [ebx], dh
inc eax
cmp al, 0x39
cmp al, 0x3f
xor bh, byte [eax*2 - 0x7efb3b7d]
retf
Function at 0x422260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4222b9
test eax, edx
je 0x4222bc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422277
movzx eax, word [eax]
sub eax, ecx
jmp 0x42229e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x42229f
add ecx, 4
js 0x42228f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x42229c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42229e
xor eax, eax
ret
test eax, eax
je 0x4222c8
test edx, edx
jne 0x422268
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42af20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a6c4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410394
mov edi, eax
cmp edi, 0x104
jbe 0x42aecb
mov eax, edi
add eax, eax
call fcn.00406f0c
mov esi, eax
jmp 0x42aecd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410394
push esi
call fcn.00414720
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42af06
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42aef0
mov eax, esp
cmp esi, eax
je 0x42af13
mov eax, esi
call fcn.00406f28
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42af4c
cmp bl, 0
je 0x42af48
cmp bl, 0x41
jl 0x42af43
cmp bl, 0x5a
jg 0x42af43
or bl, 0x20
xor al, bl
inc esi
jmp 0x42af27
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42ae8c
Function at 0x4021ce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov dword [esp + 4], str.HKEY_CLASSES_ROOT
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x40224b
mov dword [esp + 4], str.HKEY_CURRENT_USER
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x402252
mov dword [esp + 4], str.HKEY_LOCAL_MACHINE
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x402259
mov dword [esp + 4], str.HKEY_USERS
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x402260
mov dword [esp + 4], str.HKEY_CURRENT_CONFIG
xor esi, esi
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
jne 0x40233c
mov esi, 0x80000005
jmp 0x402265
mov esi, 0x80000000
jmp 0x402265
mov esi, 0x80000001
jmp 0x402265
mov esi, 0x80000002
jmp 0x402265
mov esi, 0x80000003
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
call sub.msvcrt.dll_strchr
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
lea edi, [eax + 1]
call sub.msvcrt.dll_strrchr
sub byte [ebx], al
add byte [ebp + 0xc6e055], cl
add byte [ecx + 0x183d83c3], cl
mov al, 0x40
add byte [eax], al
jne 0x4022c4
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], edi
call sub.advapi32.dll_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x402339
jmp 0x4022f1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20119
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [ebp - 0x2c], edx
call sub.advapi32.dll_RegOpenKeyExA
mov edx, dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
jne 0x402299
lea eax, [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebx + 1]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExA
sub esp, 0x18
test eax, eax
sete al
movzx eax, al
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push edi
mov byte [ebx], 0x5c
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret