joyce8/EMBER2024-capa huggingface dataset:
Function at 0x535250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
mov ecx, dword [esp + 0x44]
mov eax, ecx
mov edx, dword [esp + 0x30]
sub eax, edx
push ebx
mov dword [esp + 0x14], eax
mov ebx, ecx
mov eax, dword [esp + 0x44]
sub ebx, eax
inc eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
cmp eax, 1
jle 0x53539c
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x3c]
sub eax, ebx
push esi
push edi
lea edi, [ebx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edi
mov esi, dword [eax + edi]
mov ebx, ecx
sub ebx, dword [esp + 0x10]
mov ecx, edx
mov eax, dword [eax + edi + 4]
sub ecx, ebx
mov dword [esp + 0x2c], eax
cmp ecx, dword [esp + 0x1c]
jb 0x535354
mov ebp, dword [edi]
and ecx, 0x1f
mov dword [esp + 0x24], ebp
mov ebp, 1
mov dword [esp + 0x50], ebp
shl dword [esp + 0x50], cl
mov ecx, dword [esp + 0x20]
add ecx, ebx
cmp ecx, ebp
cmovl ecx, ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
cmp esi, eax
je 0x535377
mov edi, dword [esp + 0x3c]
imul eax, ebx, 0x34
add eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
lea edi, [edi + eax*4]
nop dword [eax + eax]
movzx eax, byte [esi + ebp]
push eax
push dword [esp + 0x58]
push dword [esp + 0x50]
push ebp
push dword [esp + 0x28]
push ecx
push dword [esp + 0x40]
push ebx
push edx
push edi
call fcn.005355f0
mov ecx, dword [esp + 0x78]
inc esi
mov edx, dword [esp + 0x68]
add esp, 0x28
lea eax, [ecx*4]
mov ecx, dword [esp + 0x30]
add edi, eax
cmp esi, dword [esp + 0x2c]
jne 0x535310
mov edi, dword [esp + 0x14]
jmp 0x535377
mov ecx, dword [esp + 0x3c]
add eax, ebp
push 1
push 0
push edx
push ebx
push eax
lea eax, [esi + ebp]
push eax
mov eax, dword [edi]
lea eax, [ecx + eax*4]
push eax
call fcn.005353b0
mov edx, dword [esp + 0x5c]
add esp, 0x1c
mov eax, dword [esp + 0x10]
add edi, 4
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edi
jl 0x5352a2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x535fa0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
and ebp, 0x1f
push edi
mov edi, dword [esp + 0x24]
cmp ebp, 8
jb 0x536060
mov ecx, ebp
shr ecx, 3
mov dword [esp + 0x10], ecx
cmp eax, 1
jne 0x535fe9
movq xmm0, qword [esi]
movq qword [esp + 0x14], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x535fee
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0xc2b2ae3d
push 0x27d4eb4f
push ecx
push eax
call fcn.0046f5f0
mov ecx, eax
add esi, 8
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0046f5f0
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.0046f5f0
mov ebx, eax
mov edi, edx
mov eax, dword [esp + 0x30]
add ebx, 0xc2b2ae63
adc edi, 0x85ebca77
sub ebp, 8
sub dword [esp + 0x10], 1
jne 0x535fd0
cmp ebp, 4
jb 0x5360b3
push 0x9e3779b1
push 0x85ebca87
cmp eax, 1
mov eax, dword [esi]
push 0
push eax
add esi, 4
call fcn.0046f5f0
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0xc2b2ae3d
shld eax, edx, 0x17
shld edx, ecx, 0x17
push 0x27d4eb4f
push edx
push eax
call fcn.0046f5f0
mov ebx, eax
mov edi, edx
add ebx, 0x9e3779f9
adc edi, 0x165667b1
sub ebp, 4
test ebp, ebp
je 0x5360f7
movzx eax, byte [esi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.0046f5f0
xor ebx, eax
lea esi, [esi + 1]
xor edi, edx
mov eax, ebx
push 0x9e3779b1
shld eax, edi, 0xb
push 0x85ebca87
shld edi, ebx, 0xb
push edi
push eax
call fcn.0046f5f0
mov ebx, eax
mov edi, edx
sub ebp, 1
jne 0x5360b7
push 0xc2b2ae3d
xor ecx, ecx
mov esi, edi
push 0x27d4eb4f
xor ecx, edi
shr esi, 1
push ecx
xor esi, ebx
push esi
call fcn.0046f5f0
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.0046f5f0
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x53f140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x74]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x10], 0
mov dword [esp + 0x84], 0
lea eax, [edi + ecx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
add eax, esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
push dword [eax + 0x6858]
mov ebx, dword [eax + 0x685c]
lea edx, [eax + 0x1808]
mov ebp, dword [eax + 0x6860]
push ecx
mov dword [esp + 0x28], edx
lea ecx, [eax + 0x1004]
lea edx, [eax + 0x1004]
mov dword [esp + 0x88], ebx
push edi
push ecx
mov dword [esp + 0x2c], edx
lea ecx, [eax + 0x1808]
mov edx, dword [eax + 0x6814]
add ebp, ebx
push ecx
push eax
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x6818]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x681c]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x44], edx
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0053e8b0
add esp, 0x24
cmp eax, 0xffffff88
ja 0x53f37f
lea edx, [eax + edi]
mov edi, dword [esp + 0x84]
test edi, edi
je 0x53f33d
mov ecx, dword [esp + 0x7c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
sub eax, edx
movq qword [esp + 0x30], xmm0
push eax
push edx
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 1
push eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], 1
call fcn.0053bfe0
add esp, 0xc
cmp eax, 0xffffff88
jbe 0x53f276
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push dword [esp + 0x74]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0053cc00
push dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0053cc00
push dword [esp + 0x38]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0053cc00
lea eax, [esp + 0x60]
push eax
call fcn.0053c0e0
add esp, 0x28
cmp eax, 2
jg 0x53f335
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x53f35f
lea eax, [esp + 0x3c]
dec edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0053ec10
movq xmm0, qword [esp + 0x38]
lea eax, [esp + 0x88]
add esp, 8
push dword [esp + 0x28]
push dword [esp + 0x30]
push ebx
push ebp
push eax
mov eax, dword [esp + 0x4c]
sub esp, 0xc
mov ecx, esp
push dword [esp + 0x34]
movq qword [ecx], xmm0
push esi
mov dword [ecx + 8], eax
call fcn.0053f630
add esp, 0x28
cmp eax, 0xffffff88
ja 0x53f37f
add esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.0053c0e0
add esp, 4
cmp eax, 2
jle 0x53f2c5
mov ebx, dword [esp + 0x80]
test edi, edi
jne 0x53f269
mov eax, ebp
sub eax, ebx
cmp ebx, ebp
ja 0x53f269
lea edi, [eax + esi]
cmp edi, dword [esp + 0x14]
jbe 0x53f368
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov ebx, dword [esp + 0x80]
jmp 0x53f33d
test eax, eax
je 0x53f379
push eax
push ebx
push esi
call fcn.004effe0
add esp, 0xc
mov esi, edi
sub esi, dword [esp + 0x78]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x10008c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10087080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x5f84dc76
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
sub eax, 0x95396f46
je 0x10008d40
jmp 0x10008c3b
mov eax, dword [ebp - 0x24]
sub eax, 0xf60ff11b
je 0x10008d34
jmp 0x10008c4e
mov eax, dword [ebp - 0x24]
sub eax, 0x27c929eb
je 0x10008d84
jmp 0x10008c61
mov eax, dword [ebp - 0x24]
sub eax, 0x5ae9c2b2
je 0x10008cd2
jmp 0x10008c74
mov eax, dword [ebp - 0x24]
sub eax, 0x5f84dc76
je 0x10008c8c
jmp 0x10008c87
jmp 0x10008d99
mov eax, dword [0x1008856c]
mov ecx, dword [0x10088568]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x27c929eb
mov ecx, 0x5ae9c2b2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x10008d99
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push eax
mov edx, esp
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [0x1008856c]
mov ecx, dword [0x10088568]
mov edx, eax
add edx, 0x5035c323
sub edx, 1
sub edx, 0x5035c323
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x27c929eb
mov ecx, 0xf60ff11b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x10008d99
mov dword [ebp - 0x18], 0x95396f46
jmp 0x10008d99
mov edx, dword [ebp - 0x14]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0x10]
mov edi, dword [edx]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x64
sub byte [edi], 0x88
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x10008d52
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10022f40
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
mov eax, esp
mov dword [ebp - 0x10], edx
mov dword [eax], ecx
mov dword [ebp - 0x18], 0x5ae9c2b2
jmp 0x10008c25
Function at 0x10027f5a
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002a9c2
push ebx
push esi
call fcn.1002a8ee
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002a882
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a96f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a9c1
push edi
push eax
call fcn.10029223
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002a98f
call fcn.10029271
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a9c0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002a882
add esp, 0x20
test eax, eax
jne 0x1002a9ae
push edi
call fcn.10029271
jmp 0x1002a9b6
push ebx
call fcn.10029271
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002ac2f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100337a0
push 0x10033798
push str.FlsAlloc
push 0x1f
call fcn.1002ab4b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ac63
push dword [ebp + 8]
mov ecx, esi
call dword [0x10031150]
call esi
jmp 0x1002ac69
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002acad
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100337b0
push 0x100337a8
push str.FlsGetValue
push 0x21
call fcn.1002ab4b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ace4
push dword [ebp + 8]
mov ecx, esi
call dword [0x10031150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002acec
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100337b8
push 0x100337b0
push str.FlsSetValue
push 0x22
call fcn.1002ab4b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ad26
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10031150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10030230
Capabilities:
Parse pe header

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

Disassembly:
cmp ecx, dword [0x48fd40]
jne 0x41a3b2
repz ret
jmp fcn.004220a6

Function at 0x42023c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48fd40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00417a1c
and dword [ebp - 0x14], 0
cmp dword [0x496154], 0
mov dword [ebp - 0x18], eax
jne 0x4202ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420397
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4833b8
push ebx
call edi
test eax, eax
je 0x420397
mov esi, dword [0x48f000]
push eax
call esi
push 0x4833a8
push ebx
mov dword [0x496154], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x496158], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49615c], eax
call edi
push eax
call esi
mov dword [0x496164], eax
test eax, eax
je 0x4202ef
push 0x483360
push ebx
call edi
push eax
call esi
mov dword [0x496160], eax
mov eax, dword [0x496160]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x48f004]
cmp eax, ecx
je 0x420348
cmp dword [0x496164], ecx
je 0x420348
push eax
call esi
push dword [0x496164]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420348
test ebx, ebx
je 0x420348
call edi
test eax, eax
je 0x42033f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42033f
test byte [ebp - 8], 1
jne 0x420348
or dword [ebp + 0x10], 0x200000
jmp 0x42037b
mov eax, dword [0x496158]
cmp eax, dword [ebp - 0x18]
je 0x42037b
push eax
call esi
test eax, eax
je 0x42037b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42037b
mov eax, dword [0x49615c]
cmp eax, dword [ebp - 0x18]
je 0x42037b
push eax
call esi
test eax, eax
je 0x42037b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x496154]
call esi
test eax, eax
je 0x420397
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420399
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a3a8
leave
ret
Function at 0x468eee
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
mov byte [ebp + 0xb], 1
cmp dword [ebx + 4], esi
je 0x469009
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
mov ecx, dword [ebp + 0xc]
mov byte [edx], 0
mov byte [eax], 0
mov dword [ecx], esi
lea ebx, [ebx]
push esi
push ebx
call fcn.00436847
movzx eax, word [eax]
cmp eax, 0x2b
je 0x468f51
cmp eax, 0x5e
je 0x468f4c
cmp eax, 0x21
je 0x468f4c
cmp eax, 0x23
jne 0x468f84
cmp eax, 0x2b
jne 0x468f5a
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
inc esi
jmp 0x468f2e
cmp eax, 0x5e
jne 0x468f68
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
inc esi
jmp 0x468f2e
cmp eax, 0x21
jne 0x468f76
mov ecx, dword [ebp + 0x18]
mov byte [ecx], 1
inc esi
jmp 0x468f2e
cmp eax, 0x23
jne 0x468f81
mov edx, dword [ebp + 0x1c]
mov byte [edx], 1
inc esi
jmp 0x468f2e
push esi
inc esi
push ebx
mov dword [ebp + 0x1c], esi
call fcn.00436847
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x469072
mov eax, 0x40
lea ecx, [ebp - 0x10]
call fcn.004013c0
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x7d
call fcn.00460234
test al, al
je 0x46904e
mov edx, dword [ebp - 0x10]
mov eax, dword [edi*4 + 0x491968]
push edx
push eax
call fcn.0041164b
add esp, 8
test eax, eax
je 0x468fde
inc edi
cmp edi, 0x62
jl 0x468fc0
cmp edi, 0x62
jne 0x469045
xor edi, edi
lea esi, [ebp - 0x10]
call fcn.00402140
movzx ecx, word [eax]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov edx, dword [ebp + 0xc]
cwde
mov dword [edx], eax
cmp eax, 0xffffffff
jne 0x469014
mov ecx, esi
call fcn.00402250
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, 0x200
je 0x469021
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
test eax, 0x400
je 0x46902e
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
test eax, 0x100
je 0x469068
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
mov byte [eax], 1
call fcn.00402250
jmp 0x4690ab
cmp byte [edi + 0x491af0], 0
je 0x46905c
lea ecx, [ebp - 0x10]
mov byte [ebp + 0xb], 0
call fcn.00402250
jmp 0x4690ab
movzx ecx, byte [edi + 0x491b58]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
lea ecx, [ebp - 0x10]
call fcn.00402250
jmp 0x4690ab
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov ecx, dword [ebp + 0xc]
cwde
mov dword [ecx], eax
cmp eax, 0xffffffff
je 0x469009
test eax, 0x200
je 0x469091
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
test eax, 0x400
je 0x46909e
mov ecx, dword [ebp + 0x18]
mov byte [ecx], 1
test eax, 0x100
je 0x4690ab
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp + 0xc]
and dword [eax], 0xff
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10004d75
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
leave
ret

Function at 0x10068140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d1700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100c6aff
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1006af90
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10068194
jmp dword [ecx*4 + 0x100682fc]
mov al, byte [esi]
test al, al
je 0x100681c2
cmp al, 0x20
je 0x100681ae
cmp al, 0xa1
jne 0x100681c2
cmp byte [esi + 1], al
jne 0x100681c2
test al, 0x80
je 0x100681ba
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100681c2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100681a1
test ecx, ecx
je case.default.0x10068194
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10068194
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10068208
cmp dl, 0xa1
jne 0x100681fc
cmp byte [eax + 1], 0xa1
jne 0x100681fc
test ecx, ecx
jne 0x100681f4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1006821c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10068236
jmp 0x1006821c
cmp dl, 0x20
jne 0x1006821a
test ecx, ecx
jne 0x10068213
mov edi, eax
mov ecx, 1
jmp 0x1006821c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100681dc
cmp ecx, 1
jne case.default.0x10068194
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10068194
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10068194
mov al, byte [esi]
test al, al
je 0x1006828e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10068274
mov cl, byte [esi + 1]
test cl, cl
je 0x1006828e
cmp al, 0xa1
jne 0x10068264
cmp cl, al
je 0x10068271
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1006b220
inc esi
jmp 0x10068286
cmp al, 0x20
je 0x10068286
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1006b260
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1006824d
push 0
lea ecx, [esp + 0x14]
call fcn.1006b260
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1007b180
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x100682c1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1012c2e8
call fcn.1006b190
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100c6a91
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10074370
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100d21fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100c6806
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100743f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100c467d
mov eax, dword [eax]
push 0x1013f224
push eax
call fcn.100b7204
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100c6a91
test bl, bl
je 0x100743f2
push 0x1013f224
lea ecx, [esp + 0xc]
call fcn.100c6e21
push 0x10142d9c
lea ecx, [esp + 0xc]
call fcn.100c6e21
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1007442e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100c6a91
jmp 0x100744f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x100744b2
lea edx, [esp + 0x7c]
push 0x10142d98
push edx
call fcn.100b7204
add esp, 8
test eax, eax
je 0x100744b2
lea eax, [esp + 0x7c]
push 0x10142d94
push eax
call fcn.100b7204
add esp, 8
test eax, eax
je 0x100744b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10074442
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100c6a91
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10074d10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10074d72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc