joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a4ca
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 0x1001a7a0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c2c266f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c2b9635
push 0xffffffffffffffff
call fcn.100116ca
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 0x1001a534
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001a54c
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 0x1001a794
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1001a768
Function at 0x10029f9a
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 0x10029fbc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10029fbc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10029fbc
ret
cmp word [ebx + 4], 0x14c
jne 0x10029fbc
test word [ebx + 0x16], 2
je 0x10029fbc
test word [ebx + 0x16], 0x100
je 0x10029fbc
cmp word [ebx + 0x18], 0x10b
jne 0x10029fbc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10029fbc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a048
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10029fdc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010f27
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10029fbc
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 0x1002a048
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 0x10029fbc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10029fbc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10029fbc
ret
cmp word [ebx + 4], 0x14c
jne 0x10029fbc
test word [ebx + 0x16], 2
je 0x10029fbc
test word [ebx + 0x16], 0x100
je 0x10029fbc
cmp word [ebx + 0x18], 0x10b
jne 0x10029fbc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10029fbc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a048
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10029fdc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010f27
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10029fbc
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 0x1002a0ff
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002a158
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002a0ff
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002a10e
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 0x1042fdb1
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 0x1002a15f
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.10010fd5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002a1fe
add edi, 4
add eax, 2
dec ecx
jne 0x1002a144
call 0x1002a1ab
loope 0x1002a1a1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002a1fb
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 0x1002a20c
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 0x1002a1bf
cmp eax, ecx
ja 0x1002a1bf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002a249
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002a23f
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.100114b4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002a10e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002a158
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002a0ff
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002a10e
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 0x1042fdb1
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 0x1002a15f
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.10010fd5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002a1fe
add edi, 4
add eax, 2
dec ecx
jne 0x1002a144
call 0x1002a1ab
loope 0x1002a1a1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002a1fb
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 0x1002a20c
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 0x1002a1bf
cmp eax, ecx
ja 0x1002a1bf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002a249
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002a23f
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.100114b4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
les ecx, [ebx + 0x8ec838d]
mov ebp, edx
or al, 0x53
push esi
push edi
cmp dword [eax + 4], 1
jne 0x68638d
mov ebx, dword [eax + 0xc]
popal
je 0x406224
xor ecx, ecx
mov edx, dword [eax - 0x52]
mov esi, ecx
inc ecx
test edx, edx
mov dword [ebp + 0x5f], edi
cwde
movsb byte es:[edi], byte [esi]
mov esi, dword [eax - 0x4babcfe4]
jp 0x40628d
or al, 0xab
stosd dword es:[edi], eax
push ds
push ss
inc ecx
add esi, 0x14
cmp ecx, edx
jb 0x406234
pop edi
lcall 0x5b00, 0x1113bb8
mov esp, ebp
or dl, al
xor byte [eax], al
mov ebp, dword [ebx - 0x8d2fbf]
cmp ecx, edx
mov dword [eax + 4], esi
jae 0x4062aa
lea ebx, [ebx + ebx*4]
wait
sub bh, byte [ecx + ecx*4]
shl ebx, 2
shl edi, 0xba
sub edx, ecx
mov dword [ebp + 8], edi
mov dword [ebp - 4], edx
mov esp, edi
sbb al, 0x30
add byte [eax], al
mov edx, dword [ebp + 0xc]
mov ebx, dword [edi + 0x19]
lea esi, [edi + ecx]
cmp edx, dword [esi + 0xc]
rol dword [0xeb0448ff], 0xa1
salc
cmp al, 0x58
mov ecx, 0xc50005
push ds
add ch, al
add bl, dh
push ds
mov edi, dword [ebp + 8]
add ebx, 0x14
xor ecx, dword [ebp - 4]
inc edi
invalid
sub byte [eax + 0xc], dl
xor ebx, edi
test edx, edx
jbe 0x4062e1
lea esi, [eax + 0x10]
cmp dword [esi], edi
je 0x40625d
fild dword [ebx - 0x35c4fb3a]
sal esp, 0xeb
sbb eax, 0x73cad84a
adc eax, 0x1088548d
mov esi, dword [edx - 0x1f]
inc ecx
mov dword [edx], esi
mov esi, dword [eax + 0x7d]
and dword [ebp + 4], 0x41
add al, 0x41
cmp ecx, esi
jb 0x4062cd
push dword [edx + 0x10900a0c]
adc byte [eax], al
pop edx
or dl, byte [eax + 0x5a001010]
popal
xor eax, 0x3a76d2e8
lea esi, [eax - 0x3ff44ec]
dec esp
xor byte [edx + ecx + 0x41], dh
add esi, 4
cmp ecx, edx
sbb eax, 0x9e26ebf4
cmp ecx, edx
jae 0x406321
lea ebx, [eax + ecx*4]
adc edx, dword [eax]
add byte [ebx + ecx*4 - 0x76beb78e], ah
xor ch, byte [esi + 0x1010ef]
mov edi, 0x4e04c283
jb 0x406358
inc ecx
mov dword [edx], esi
scasb al, byte es:[edi]
out dx, eax
adc byte [eax], dl
add byte [edi + 0x4e04c283], bh
cmp ecx, esi
jb 0x4062de
lahf
mov byte [eax], dl
adc byte [eax + eax - 0x75], dh
nop
adc al, 0x20
add byte [edx], al
xchg ebp, eax
leave
insb byte es:[edi], dx
mov byte [0xb0ab3a76], al
sbb byte [eax], ah
leave
jnp 0x40630e
enter 0x41d0, 0xffffffffffffff83
or eax, dword [ebx + edi]
push eax
jb 0x4062d7
jmp 0x40636d
mov ebp, dword [0x32594104]
mov esp, dword [edi]
adc al, 0x20
add byte [eax], al
add edx, 4
dec esi
pop eax
xor cl, byte [ebx + 0x201427]
add byte [ebx + 0x584e04c2], al
into
jb 0x406353
dec dword [eax + 0x2014]
mov ecx, dword [eax + 0xcd18]
cmp edi, ecx
stc
jne 0x406382
test ecx, ecx
jle 0x406374
dec ecx
invalid
pop edi
pop esi
xor ebp, dword [edx + 0x5de58b5b]
ret 8
Function at 0x4042a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40430a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403b60
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e64
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4042f4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404311
lea eax, [ebp - 0x10]
call fcn.004039f4
ret

Function at 0x406b04
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ecx
push ebx
push edx
xor edx, edx
push 0x406ad4
push dword fs:[edx]
mov dword [0x40c7e0], esp
mov dword [0x40c7e4], ebp
mov dword [0x40c7e8], 0x406ba0
mov dword fs:[edx], esp
mov edi, dword [ebp + 8]
mov ecx, 0x96
xor al, al
repne scasb al, byte es:[edi]
mov ecx, edi
sub ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp word [edx], 0x5a4d
jne 0x406ba0
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x406ba0
mov edx, dword [edx + 0x78]
or edx, edx
je 0x406ba0
add edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x20]
add ebx, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebx]
add edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ecx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x406b80
add ebx, 4
inc eax
cmp eax, dword [edx + 0x18]
jb 0x406b67
jmp 0x406ba0
shl eax, 1
add eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ax, word [eax]
and eax, 0xffff
shl eax, 2
add eax, dword [edx + 0x1c]
add eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp + 0xc]
jmp 0x406ba2
xor eax, eax
xor edx, edx
pop dword fs:[edx]
add esp, 4
pop edx
pop ebx
pop ecx
pop edi
pop esi
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x185d160e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2ae4343e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x44a6bc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp - 0x144]
call fcn.004061ef
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 8
push 0
push 0x438644
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40125f
lea ecx, [ebp - 4]
push ecx
push 8
push 0
push 0x438664
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40125f
cmp dword [ebp - 4], 0
je 0x40124a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x30
push 0x438698
call fcn.0040d6de
push 1
call fcn.00423395
mov eax, 1
test eax, eax
je 0x4012ab
push 0xc8
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x401288
jmp 0x4012ab
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0x144]
add ecx, 0x1a0
call fcn.00401440
jmp 0x40125f
cmp dword [ebp - 4], 0
je 0x4012bb
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00423095
mov esp, ebp
pop ebp
ret
Function at 0x4023c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44a6bc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwarePassThruSupport.04.04
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40242c
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push str.SoftwareKEY_WOW64_64KEYPassThruSupport.04.04
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40242c
push 0
push 0x30
push str.Error:_No_PassThru_adapters_installed._Please_install_at_least_one_PassThru_Library__r_nPlease_ensure_PassThru_Library_is_installed
call fcn.0040d6de
mov edx, 1
test edx, edx
je 0x402460
push 0xc8
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x402455
jmp 0x402460
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x40242c
cmp dword [ebp - 8], 1
jbe 0x402479
push 1
mov ecx, dword [ebp - 0x20c]
add ecx, 0x21c
call fcn.0040c830
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00423095
mov esp, ebp
pop ebp
ret

Function at 0x406726
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40674a
cmp dword [edi + 0x54], 0
jne 0x40674a
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004125d0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004066e7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40beab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40bef2
call fcn.004125d0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40bef2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40bf0e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040ba25
mov esi, eax
test edi, edi
je 0x40bf0c
test ebx, ebx
je 0x40bf0c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40cdb1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43601a
call fcn.00423eda
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40cdd6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40ce1c
lea ecx, [ebp - 0x10]
call fcn.004045b0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040c5f0
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404970
mov eax, esi
call fcn.00423fb2
ret 8

Function at 0x40fe05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40fe4d
call fcn.004125d0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40fe4d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40fe90
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40fe79
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40fe79
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40fe8d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x423095
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a6bc]
jne 0x42309f
repz ret
jmp fcn.00428d6c
Function at 0x42fbbb
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.004286aa
and dword [ebp - 4], 0
cmp dword [0x44e3e4], 0
mov ebx, eax
jne 0x42fc6c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42fd1d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43fad0
push edi
call esi
test eax, eax
je 0x42fd1d
push eax
call fcn.00428638
mov dword [esp], 0x43fac0
push edi
mov dword [0x44e3e4], eax
call esi
push eax
call fcn.00428638
mov dword [esp], 0x43faac
push edi
mov dword [0x44e3e8], eax
call esi
push eax
call fcn.00428638
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44e3ec], eax
call esi
push eax
call fcn.00428638
pop ecx
mov dword [0x44e3f4], eax
test eax, eax
je 0x42fc6c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428638
pop ecx
mov dword [0x44e3f0], eax
mov eax, dword [0x44e3f0]
cmp eax, ebx
je 0x42fcc4
cmp dword [0x44e3f4], ebx
je 0x42fcc4
push eax
call fcn.004286b3
push dword [0x44e3f4]
mov esi, eax
call fcn.004286b3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42fcc4
test edi, edi
je 0x42fcc4
call esi
test eax, eax
je 0x42fcbb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42fcbb
test byte [ebp - 0xc], 1
jne 0x42fcc4
or dword [ebp + 0x10], 0x200000
jmp 0x42fcfd
mov eax, dword [0x44e3e8]
cmp eax, ebx
je 0x42fcfd
push eax
call fcn.004286b3
pop ecx
test eax, eax
je 0x42fcfd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42fcfd
mov eax, dword [0x44e3ec]
cmp eax, ebx
je 0x42fcfd
push eax
call fcn.004286b3
pop ecx
test eax, eax
je 0x42fcfd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e3e4]
call fcn.004286b3
pop ecx
test eax, eax
je 0x42fd1d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42fd1f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010f3
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401103
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x401151
push 0x403160
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401157
lea eax, [ebp - 0x428]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x40112d
jmp 0x40115a
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x401103
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40116a
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401209
push ebx
mov dword [ebp - 0xc], 0x403160
mov dword [ebp - 8], str.SteamService.exe
mov dword [ebp - 4], str.steamwebhelper.exe
push esi
xor esi, esi
push dword [ebp + esi*4 - 0xc]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4011ef
push dword [ebp - 0x230]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4011ef
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 3
jb 0x4011b5
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4011b3
pop esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret