joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f285
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428fa0]
jne 0x40f28f
repz ret
jmp fcn.00412f4f

Function at 0x41a607
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.00414cf8
and dword [ebp - 4], 0
cmp dword [0x42cc44], 0
mov ebx, eax
jne 0x41a6b8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a769
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x423068
push edi
call esi
test eax, eax
je 0x41a769
push eax
call fcn.00414c86
mov dword [esp], 0x423058
push edi
mov dword [0x42cc44], eax
call esi
push eax
call fcn.00414c86
mov dword [esp], 0x423044
push edi
mov dword [0x42cc48], eax
call esi
push eax
call fcn.00414c86
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42cc4c], eax
call esi
push eax
call fcn.00414c86
pop ecx
mov dword [0x42cc54], eax
test eax, eax
je 0x41a6b8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00414c86
pop ecx
mov dword [0x42cc50], eax
mov eax, dword [0x42cc50]
cmp eax, ebx
je 0x41a710
cmp dword [0x42cc54], ebx
je 0x41a710
push eax
call fcn.00414d01
push dword [0x42cc54]
mov esi, eax
call fcn.00414d01
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41a710
test edi, edi
je 0x41a710
call esi
test eax, eax
je 0x41a707
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a707
test byte [ebp - 0xc], 1
jne 0x41a710
or dword [ebp + 0x10], 0x200000
jmp 0x41a749
mov eax, dword [0x42cc48]
cmp eax, ebx
je 0x41a749
push eax
call fcn.00414d01
pop ecx
test eax, eax
je 0x41a749
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a749
mov eax, dword [0x42cc4c]
cmp eax, ebx
je 0x41a749
push eax
call fcn.00414d01
pop ecx
test eax, eax
je 0x41a749
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42cc44]
call fcn.00414d01
pop ecx
test eax, eax
je 0x41a769
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a76b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f5d2e5
Capabilities:
Encode data using xor

Disassembly:
call 0x4f5d25e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4f5d28e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4f5d2aa
xor edx, 0
jmp 0x4f5d2b5
xor edx, edx
jmp 0x4f5d2cc
jmp 0x4f5d2d8
xor eax, eax
push 0x8427d7c0
call 0x4f5d2e5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4f5d321
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4f5d2fa
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4f5d338
add eax, 0
jno 0x4f5d33d
add esi, 0
ret 0x10

Function at 0x4f5e0a6
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4f5e0c8
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4f5e26a
cmp edi, dword [ebp + 0x10]
jb 0x4f5e26a
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.04f5db92
inc edi
jmp 0x4f5e151
jmp 0x4f5e15e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.04f5db92
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.04f5db92
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4f5e1b2
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4f5e196
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.04f5e1e0
add dword [eax], 0x39
jle 0x4f5e1bc
sub al, 0xf5
mov ch, al
call fcn.04f5e1f5
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x4f5fecd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x4f5fee3
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x4f5fef4
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.04f5ff35
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x4f622a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x4f621ea
add ebx, 0
push ecx
call 0x4f621ff
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7152e17f
sub ebx, dword [0x7154d9be]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7154d9ae
call fcn.04f5dcc9
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.04f5d1d7
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4f6235d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4f6235d
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x4f62314
mov eax, 1
lock xchg dword [0x7154d9ba], eax
push 0x3dd1fc71
call 0x4f622a1
push esi
add esp, 8
cmp eax, 0
jne 0x4f6228a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x4f622b0
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x4f622c5
cmp ecx, edx
cmp eax, 0
je 0x4f622ea
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x4f622d4
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.04f62303
dec eax
loope 0x4f62306
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7154d9ba], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x4f6233a
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x4f6234f
jmp 0x4f6235a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4f62248
Function at 0x4f693c2
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 0x4f69698
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7153a632
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x715315f8
push 0xffffffffffffffff
call fcn.04f605c2
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 0x4f6942c
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.04f69444
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 0x4f6968c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4f69660
Function at 0x4f78e92
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 0x4f78eb4
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f78eb4
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f78eb4
ret
cmp word [ebx + 4], 0x14c
jne 0x4f78eb4
test word [ebx + 0x16], 2
je 0x4f78eb4
test word [ebx + 0x16], 0x100
je 0x4f78eb4
cmp word [ebx + 0x18], 0x10b
jne 0x4f78eb4
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f78eb4
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f78f40
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f78ed4
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.04f5fe1f
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f78eb4
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 0x4f78f40
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 0x4f78eb4
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f78eb4
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f78eb4
ret
cmp word [ebx + 4], 0x14c
jne 0x4f78eb4
test word [ebx + 0x16], 2
je 0x4f78eb4
test word [ebx + 0x16], 0x100
je 0x4f78eb4
cmp word [ebx + 0x18], 0x10b
jne 0x4f78eb4
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f78eb4
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f78f40
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f78ed4
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.04f5fe1f
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f78eb4
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 0x4f78ff7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4f79050
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4f78ff7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4f79006
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 0x537eca9
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 0x4f79057
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.04f5fecd
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4f790f6
add edi, 4
add eax, 2
dec ecx
jne 0x4f7903c
call 0x4f790a3
loope 0x4f79099
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4f790f3
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 0x4f79104
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 0x4f790b7
cmp eax, ecx
ja 0x4f790b7
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4f79141
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4f79137
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.04f603ac
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4f79006
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4f79050
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4f78ff7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4f79006
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 0x537eca9
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 0x4f79057
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.04f5fecd
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4f790f6
add edi, 4
add eax, 2
dec ecx
jne 0x4f7903c
call 0x4f790a3
loope 0x4f79099
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4f790f3
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 0x4f79104
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 0x4f790b7
cmp eax, ecx
ja 0x4f790b7
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4f79141
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4f79137
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.04f603ac
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10002d8e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10002dd1
push 0x19
push 0x406186e
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002de8
mov eax, 0x100d5289
jmp 0x10002e97
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x100d5281]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001795
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002e36
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.100019c1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10002e78
push 0x136
push 0x406186e
push 6
call fcn.100b8c4b
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x10002e92
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100b8c3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10002e97
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002ea8
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10004694
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x100046e6
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100046de
push 0x4f
push 0x4060cff
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x1000471f
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000471c
push 0x7d
push 0x4060cff
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004733
mov eax, 0
jmp 0x1000479b
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004764
push 0x10b
push 0x4060cff
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004793
push 0x12f
push 0x4060cff
push 6
call fcn.100b8c4b
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x1000479b
mov esp, ebp
pop ebp
ret 8

Function at 0x100049c0
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x100e6945], 1
push reloc.WS2_32.dll_connect
push 0
push str.C:ProgramDataMicrosoftWindowsGameExplorergh_key
push 1
mov ebx, 0x24c
call fcn.100babe0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10004a28
push reloc.WS2_32.dll_getpeername
push 0
push 0x100d5289
push reloc.WS2_32.dll_connect
push 0
push str.C:ProgramDataMicrosoftWindowsGameExplorergh_key
push 2
mov ebx, 0x26c
call fcn.100babf0
add esp, 0x1c
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
push str.C:ProgramDataMicrosoftWindowsGameExplorergh_key
push 3
mov ebx, 0x270
call fcn.100bac90
add esp, 0x28
mov dword [0x100e6949], eax
push reloc.WS2_32.dll_getsockname
push 0
push 0x100068e4
push 1
mov ebx, 0x164
call fcn.100bad80
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], esp
push 0
push 0
fld qword [ebp - 8]
call fcn.10001795
push eax
push 0xd
xor eax, eax
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004ac2
push 0x181
push 0x4048bc9
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e694d], eax
mov esp, ebp
pop ebp
ret
Function at 0x1000e6fb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.1000e741
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 8], esp
je 0x1000e73d
push 0x12
push 0x4060cf2
push 6
call fcn.100b8c4b
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1001402c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x10014073
cmp ebx, 0x20
je 0x10014073
cmp ebx, 0xffffffe0
je 0x10014073
jne 0x1001407c
add eax, 1
cmp esi, eax
je 0x10014089
jne 0x10014058
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x1001408d
jne 0x10014054
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x100140e6
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x100140ec
add eax, 4
pop esi
dec esi
push esi
jne 0x100140ce
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x10017fc9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x184
call fcn.100bab30
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001800e
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 4
push dword [ebp - 4]
push 0x23
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001804d
push 0x36
push 0x40613e6
push 6
call fcn.100b8c4b
add esp, 0xc
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10018060
mov eax, 0x100d520e
push eax
push 1
mov ebx, 0x9dc
call fcn.100ba4f0
add esp, 0x10
jmp 0x10018078
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10018089
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x1001c24c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1001c3fc
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x1001c34a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x1001c2ed
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x1001c330
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x1001c304
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x1001c31f
test al, 0x40
je 0x1001c316
mov ecx, dword [edi + 0x20]
jmp 0x1001c31d
test al, 0x80
je 0x1001c330
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x1001c330
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x1001c2bc
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1001f6dd
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.1001f71f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001f711
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x1001f719
mov esp, ebp
pop ebp
ret 8