joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b470
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa28
push ebx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], bx
mov word [esp + 0x828], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x82a]
mov word [esp + 0x620], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x622]
mov word [esp + 0x418], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41a]
lea edx, [esp + 0x620]
rep stosd dword es:[edi], eax
mov ecx, dword [0x53aa1c]
push edx
stosw word es:[edi], ax
mov eax, dword [0x53aa18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
push ebx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x18]
push ebx
push 0x10
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x47b527
pop edi
mov eax, 1
pop ebx
add esp, 0xa28
ret
mov ecx, dword [0x58e22c]
lea eax, [esp + 0x210]
push 0x103
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x47b553
pop edi
mov eax, 1
pop ebx
add esp, 0xa28
ret
lea edx, [esp + 0x210]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edx
push 0x53a4a4
lea eax, [esp + 0x424]
push 0x103
push eax
call esi
push 0x88
call fcn.0049bcd0
add esp, 0x14
lea ecx, [esp + 0x624]
lea edx, [esp + 0x82c]
push eax
push ecx
push 0x53c0b0
push 0x103
push edx
call esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x430]
push eax
lea edx, [esp + 0x844]
push ecx
push edx
call fcn.00451330
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x47b5ff
cmp word [0x56e88c], bx
jne 0x47b5e4
mov eax, dword [0x58e228]
push 0x104
push 0x56e88c
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 0x56e88c
push 0x89
call fcn.0049bcd0
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0xa28
ret
Function at 0x47be84
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
cmp word [esi + 0x28], 0
je 0x47bfd4
call fcn.00406200
mov ecx, eax
call fcn.00439130
test eax, eax
jne 0x47bfd4
call fcn.00447590
mov eax, dword [eax + 0x290]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 8]
test ecx, ecx
ja 0x47bee3
push 0
push eax
push 0x901
call fcn.004d7a80
mov ecx, dword [esp + 0x14]
add esp, 0xc
test ecx, ecx
je 0x47bfd4
shl ecx, 2
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x47bfd4
mov ecx, dword [esp + 8]
push ebx
push edi
lea edx, [esp + 0x10]
xor eax, eax
mov edi, ebp
push edx
push ebp
rep stosd dword es:[edi], eax
call fcn.00447590
mov ecx, eax
call fcn.00448cc0
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x47bf6a
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jbe 0x47bf91
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
mov eax, dword [esi]
push eax
call ebp
test eax, eax
je 0x47bf58
mov ecx, dword [esi]
push 0
push ecx
call edi
mov edx, dword [esi]
push 6
push edx
call edi
mov eax, dword [esi]
push 0
push eax
call edi
mov eax, dword [esp + 0x10]
inc ebx
add esi, 4
cmp ebx, eax
jb 0x47bf3a
mov ebp, dword [esp + 0x18]
jmp 0x47bf8d
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jbe 0x47bf91
mov esi, ebp
mov ecx, dword [esi]
push ecx
call fcn.0047af60
mov eax, dword [esp + 0x14]
add esp, 4
inc edi
add esi, 4
cmp edi, eax
jb 0x47bf76
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x2c]
xor eax, eax
test edx, edx
sete al
mov dword [esi + 0x2c], eax
mov ecx, dword [0x5ade74]
pop edi
pop ebx
test ecx, ecx
je 0x47bfcb
test eax, eax
push 0
mov ecx, esi
je 0x47bfc6
call fcn.0047a230
push ebp
call fcn.0051d79a
add esp, 4
pop esi
pop ebp
add esp, 0xc
ret
call fcn.0047a190
push ebp
call fcn.0051d79a
add esp, 4
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x47c3b0
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.0047cf30
mov byte [esi], 0x80
pop esi
ret

Function at 0x47cf70
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x47e380
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push esi
push 0x562324
push eax
mov dword [esi + 0x1060], eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47e3b7
push eax
mov eax, dword [esi + 0x1060]
push 0xb6
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esi + 0x1060]
push 0x434
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [0x56e23c]
test eax, eax
jne 0x47e3ed
push 1
push 0x9051
mov dword [0x56e23c], 0x9051
call fcn.004c25d0
add esp, 8
mov edx, dword [0x56e23c]
mov eax, dword [0x588e5c]
push 0x280000
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47e418
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x47e7f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov ebp, ecx
push 0x11
call esi
movsx edi, ax
push 0x12
shr edi, 0x10
call esi
movsx ebx, ax
push 0x10
shr ebx, 0x10
call esi
movsx eax, ax
shr eax, 0x10
test edi, edi
je 0x47e831
test ebx, ebx
je 0x47e831
test eax, eax
mov dword [esp + 0x10], 1
jne 0x47e839
mov dword [esp + 0x10], 0
xor esi, esi
test edi, edi
je 0x47e897
test ebx, ebx
je 0x47e851
mov eax, dword [0x5a18bc]
test eax, eax
je 0x47e851
mov esi, 1
test esi, esi
jne 0x47e861
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47e961
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
test esi, esi
je 0x47e8ab
test edi, edi
je 0x47e8ab
mov eax, 1
jmp 0x47e8ad
test ebx, ebx
je 0x47e855
mov eax, dword [0x5a18c0]
test eax, eax
je 0x47e855
mov esi, 1
jmp 0x47e861
xor eax, eax
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push esi
push edx
push eax
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call fcn.0047e970
test eax, eax
jne 0x47e911
mov edx, dword [ebp + 4]
mov eax, dword [edx - 8]
test eax, eax
je 0x47e952
mov eax, dword [esp + 0x24]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47e8e9
mov dword [ebp + 0x14], eax
mov ecx, dword [0x58e228]
push ebp
push 0x47e250
push esi
push 0x7ff
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 0x18
cmp eax, 1
jne 0x47e952
test edi, edi
jne 0x47e931
test ebx, ebx
je 0x47e931
mov eax, dword [0x5a18c0]
test eax, eax
je 0x47e931
mov edx, dword [esp + 0x34]
mov dword [edx], 1
mov eax, dword [ebp + 8]
push eax
push 0x18
call fcn.0049bcd0
add esp, 4
add ebp, 0x18
push eax
push 0x823
push ebp
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x18
Function at 0x480e60
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2d10
call fcn.0051d7f0
mov eax, dword [esp + 0x2d14]
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
je 0x480ff3
mov esi, dword [esp + 0x2d20]
cmp esi, ebp
je 0x480ff3
push ebx
push edi
xor edi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
push edi
push 0x56254c
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.0042e050
add esp, 0x10
lea ecx, [esp + 0x28]
push ebp
push ebp
push 3
push ebp
push 3
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x480fd6
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x610]
mov dword [esp + 0x18], edx
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x618]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x480fc5
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x228]
lea edx, [esp + 0x610]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x628]
lea eax, [esp + 0x228]
push eax
push 1
push ecx
push edx
call fcn.00423930
add esp, 0x10
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x480f67
mov eax, 0x80070057
cmp eax, ebp
jl 0x480fc5
mov edx, dword [esp + 0x2d28]
mov eax, dword [esp + 0x2d24]
mov edi, SysReAllocString
mov ecx, eax
sub edi, edx
lea edx, [esp + 0x228]
sub edx, ecx
lea ecx, [edi + esi]
test ecx, ecx
je 0x480fa1
mov cl, byte [edx + eax]
test cl, cl
je 0x480fa1
mov byte [eax], cl
inc eax
dec esi
jne 0x480f8b
jmp 0x480fa5
test esi, esi
jne 0x480fab
dec eax
mov ebp, 0x8007007a
mov esi, dword [esp + 0x2d28]
mov byte [eax], 0
mov eax, ebp
xor ebp, ebp
cmp eax, ebp
jne 0x480fc5
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x480fe4
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x480e98
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x2d10
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x2d10
ret
Function at 0x4811c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x4f0
test eax, eax
push ebx
push esi
push edi
je 0x4813c4
mov esi, dword [esp + 0x504]
test esi, esi
je 0x4813c4
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0
push 0x5625a4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481354
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x481342
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481339
lea edx, [esp + 0x18]
lea eax, [esp + 0x2f4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0x56258c
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 0x208
call ebx
test eax, eax
jne 0x48132e
mov ecx, 0x19
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
push 0x64
lea ecx, [esp + 0x2f8]
push eax
push ecx
call fcn.004813d0
add esp, 0xc
test eax, eax
je 0x48132e
mov al, byte [esp + 0x24]
test al, al
je 0x4812f7
lea edx, [esp + 0x24]
lea eax, [esp + 0x88]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x48132e
lea edx, [esp + 0x88]
lea ecx, [esp + 0x24]
mov esi, 0x64
lea eax, [esp + 0x24]
sub edx, ecx
lea ecx, [esi + 0x7fffff9a]
test ecx, ecx
je 0x481326
mov cl, byte [edx + eax]
test cl, cl
je 0x481326
mov byte [eax], cl
inc eax
dec esi
jne 0x48130d
jmp 0x48132a
test esi, esi
jne 0x48132b
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x10]
jmp 0x48121c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x504]
mov al, byte [esp + 0x24]
test al, al
je 0x4813c4
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x48136b
mov eax, 0x80070057
test eax, eax
jl 0x4813b1
mov edx, dword [esp + 0x504]
mov eax, dword [esp + 0x500]
mov edi, SysReAllocString
xor ebx, ebx
sub edi, edx
lea edx, [esp + 0x24]
sub edx, eax
lea ecx, [edi + esi]
test ecx, ecx
je 0x4813a2
mov cl, byte [edx + eax]
test cl, cl
je 0x4813a2
mov byte [eax], cl
inc eax
dec esi
jne 0x48138c
jmp 0x4813a6
test esi, esi
jne 0x4813ac
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
setge dl
pop esi
mov eax, edx
pop ebx
add esp, 0x4f0
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4f0
ret
Function at 0x481900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x57243c]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call fcn.00401000
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x53b580
push 0x104
push eax
call fcn.00452830
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.00401060
lea eax, [esp + 0x84]
push eax
call fcn.00401aa0
lea ecx, [esp + 0x88]
push ecx
call fcn.00401aa0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [sym.imp.MSVCRT.dll_strncat]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push str._02x
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.00452830
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x481a4d
mov ecx, edx
jmp 0x481a5b
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x4819ff
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x481ab3
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x53b580
push edx
push esi
call fcn.00452830
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x481af0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
mov ebx, dword [esp + 0x510]
push ebp
push esi
test ebx, ebx
push edi
je 0x481ca1
mov ebp, dword [esp + 0x520]
cmp ebp, 0x20
jb 0x481ca1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x562654
push 0x56263c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x481ca1
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x481ca1
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x481bac
mov cl, byte [edx + eax]
test cl, cl
je 0x481bac
mov byte [eax], cl
inc eax
dec esi
jne 0x481b96
jmp 0x481bb0
test esi, esi
jne 0x481bb1
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x481be9
mov cl, byte [edx + eax]
test cl, cl
je 0x481be9
mov byte [eax], cl
inc eax
dec esi
jne 0x481bd0
jmp 0x481bed
test esi, esi
jne 0x481bee
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00481900
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x481ca1
test ebp, ebp
je 0x481c41
cmp ebp, 0x7fffffff
jbe 0x481c46
mov eax, 0x80070057
test eax, eax
jl 0x481c8d
mov eax, ebx
xor ebx, ebx
test ebp, ebp
mov edx, ebp
je 0x481c82
mov ecx, dword [esp + 0x51c]
mov edi, SysReAllocString
lea esi, [esp + 0x18]
sub edi, ebp
sub esi, ecx
lea ecx, [edi + edx]
test ecx, ecx
je 0x481c7e
mov cl, byte [esi + eax]
test cl, cl
je 0x481c7e
mov byte [eax], cl
inc eax
dec edx
jne 0x481c68
jmp 0x481c82
test edx, edx
jne 0x481c88
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
sete dl
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x4838d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5626dc
call esi
push 0x56274c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4838f8
call eax
pop esi
add esp, 0x30
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x483990
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push 0x562700
push SysReAllocStringLen
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x483986
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x24], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48397b
cmp dword [esp + 0x10], 1
jne 0x48397b
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
push 0x5626f8
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0xc
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [esp + 8]
pop esi
add esp, 0x30
ret
push str.ntdll.dll
mov dword [esp + 0xc], 0
call esi
test eax, eax
je 0x4839b8
lea edx, [esp + 8]
push edx
push 0x4839d0
push 1
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov ax, word [esp + 8]
pop esi
add esp, 0x30
ret
Function at 0x4896f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x2090
call fcn.0051d7f0
mov eax, dword [esp + 0x2098]
push ebx
push esi
push edi
test eax, eax
mov ebx, ecx
jne 0x4897a6
mov eax, dword [0x59e330]
test eax, eax
je 0x4897a6
mov ecx, dword [ebx + 0x5c]
add ecx, 0x14f34
call fcn.004096e0
test eax, eax
jne 0x4897a6
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x48976d
mov eax, dword [ecx + 0x568c]
test eax, eax
je 0x48976d
mov eax, dword [esp + 0x20a0]
test eax, eax
je 0x48975c
mov ecx, ebx
call fcn.0048c8e0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
call fcn.00416db0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
mov eax, dword [esp + 0x20a0]
test eax, eax
je 0x48978b
mov ecx, ebx
call fcn.0048b540
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
test ecx, ecx
je 0x4898be
push 0
call fcn.00416dd0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
mov ecx, dword [ebx + 0x5c]
add ecx, 0x14f34
call fcn.00407c40
mov edx, eax
test edx, edx
je 0x4898be
cmp word [edx], 0
je 0x4898be
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x53a4a4
lea eax, [esp + 0x14]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004bf470
add esp, 0x14
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov si, ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1056]
mov word [esp + 0x1054], 0
lea edx, [esp + 0x1054]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x823
lea eax, [esp + 0x10]
shr esi, 8
push edx
push eax
and esi, 0xff
call fcn.004d9190
add esp, 0xc
cmp word [esp + 0x1054], 0
je 0x489871
lea ecx, [esp + 0x1054]
push ecx
mov ecx, ebx
call fcn.00487ca0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
test esi, esi
jne 0x48988d
mov eax, dword [esp + 0x20a0]
test eax, eax
jne 0x48988d
mov eax, dword [0x5a18b0]
test eax, eax
jne 0x48988d
xor eax, eax
jmp 0x489892
mov eax, 1
mov edx, dword [0x588e58]
mov edi, dword [esp + 0x20a4]
push edx
push 0
push 0
push eax
xor eax, eax
push 0
test edi, edi
setne al
inc eax
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
mov ecx, ebx
call fcn.00488290
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
Function at 0x48d120
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
add eax, 0xffff9ff0
push esi
cmp eax, 4
mov esi, ecx
ja case.0x48d13b.24595
jmp dword [eax*4 + 0x48d230]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x48d167
mov edx, dword [eax + 0x24]
lea ecx, [eax + 0x24]
call dword [edx + 0x50]
test eax, eax
je 0x48d167
mov ecx, esi
call fcn.0048ce40
pop esi
add esp, 0x208
ret 4
mov ecx, esi
call fcn.0048cea0
pop esi
add esp, 0x208
ret 4
mov eax, dword [esi + 4]
push 0
push 0
push 0x5403
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
add esp, 0x208
ret 4
mov cx, word [0x56e1d0]
push edi
mov word [esp + 8], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x58e22c]
push 0x562968
lea edx, [esp + 0xc]
push 0x103
push edx
push eax
call fcn.0043f640
lea ecx, [esp + 0x18]
push ecx
call fcn.004519a0
add esp, 0x14
test eax, eax
pop edi
je case.0x48d13b.24595
push 5
push 0
lea edx, [esp + 0xc]
push 0x562954
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
add esp, 0x208
ret 4
mov eax, dword [0x588e58]
push eax
push 0
push 1
push 1
push 1
push 1
push 0
push 0xab
call fcn.0049bcd0
add esp, 4
mov ecx, esi
push eax
call fcn.00488290
pop esi
add esp, 0x208
ret 4

Function at 0x48d250
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push 0x561fd0
push SysReAllocStringLen
xor esi, esi
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x48d299
lea ecx, [esp + 4]
push ecx
push 0x561fd0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x48d299
xor eax, eax
pop esi
add esp, 0xc
ret 4
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0
push 0x562984
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48d2d6
mov eax, dword [esp + 8]
xor edx, edx
cmp eax, 1
sete dl
xor ecx, ecx
mov esi, edx
test eax, eax
sete cl
mov dword [esp + 8], ecx
jmp 0x48d2de
mov dword [esp + 8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d2fa
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 4
push 0
push 0x562984
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00477b50
push 0xffffffffffffffff
push 0
push 1
push 8
push 0x207
call fcn.0041d4c0
mov ecx, eax
call fcn.0041dbc0
mov eax, esi
pop esi
add esp, 0xc
ret 4