joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fe2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43fe3e
add esp, 0xfffffff0
call fcn.004030e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00412f9c
mov eax, ebx
call fcn.00440178
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40ca00]
call fcn.00402db4
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40ca00]
call fcn.00402db4
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40ca00]
call fcn.00402db4
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40ca00]
call fcn.00402db4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40ca00]
call fcn.00402db4
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x43c91c
push eax
push 0
push 0
mov eax, dword [0x458f94]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x414464]
call fcn.00415a3c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x414464]
call fcn.00415a3c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x414464]
call fcn.00415a3c
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.004405e8
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4404bc
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4404bc
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4404bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43ff4d
call fcn.0040313c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4402a0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44044b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x44042c
mov dl, 1
mov eax, dword [0x40cd00]
call fcn.00402db4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403af0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44041b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042eb20
test al, al
je 0x44040e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44045c
lea eax, [ebp - 0x254]
call fcn.00408cf8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44040e
xor eax, eax
push ebp
push 0x440407
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x440494
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4403f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d20
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4403f0
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44040e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x440311
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040fbd8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440452
lea eax, [ebp - 0x260]
call fcn.00403af0
ret

Function at 0x440ce0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45a7d0]
cmp byte [eax + 0x95], 0
jne 0x440d51
cmp dword [0x45a7ec], 0
jne 0x440d12
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x440c9c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45a7ec], eax
cmp dword [0x45a7e8], 0
jne 0x440d2d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x45a7e8], eax
cmp dword [0x45a7f0], 0
jne 0x440d51
push esp
push 0
push 0
push 0x440c40
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x45a7f0], eax
pop edx
ret
Function at 0x440e48
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x440e5f
add esp, 0xfffffff0
call fcn.004030e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00412f9c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ca00]
call fcn.00402db4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40ca00]
call fcn.00402db4
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x414e94]
call fcn.0041c548
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x440fd4
mov eax, dword [0x458ea0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041c918
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4429f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x458ea0]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a170
test eax, eax
je 0x440f52
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004086ac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a198
test eax, eax
je 0x440f66
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d20
mov eax, dword [0x458d78]
cmp byte [eax], 0
jne 0x440f97
mov eax, ebx
call fcn.004410c0
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x440fc9
call fcn.0040313c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441330
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45a7d0]
cmp dword [eax + 0x24], 0
je 0x4413d3
cmp dword [ebx + 0x84], 0
jne 0x4413cd
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4412c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4413cd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x441396
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4413cd
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040e170
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4413a5
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x441de0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x441e15
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bd8
jmp 0x441e1f
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b44
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x442d6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x442da4
mov eax, esi
call fcn.0042a8d8
test al, al
je 0x442da4
mov eax, dword [ebx + 0x74]
call fcn.0042a5dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x442da4
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042a5dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44e1c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0044de08
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403f34
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x44e222
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x458f9c]
mov dl, 1
mov eax, dword [0x44dd00]
call fcn.0040978c
call fcn.0040353c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44e22c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403f34
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x44e284
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x459174]
mov dl, 1
mov eax, dword [0x44dd00]
call fcn.0040978c
call fcn.0040353c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044de38
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4542b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4542e8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4542c6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4542d5
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4542e4
or bl, 2
mov eax, ebx
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403f34
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x454a31
test al, 0x10
jne 0x454a35
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4550f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45519b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00403f34
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x455185
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004040a4
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00403f34
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x455185
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4551ac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x455185
cmp dword [ebp - 8], 0x34
jne 0x455185
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4551a2
lea eax, [ebp - 0x10]
call fcn.00403af0
ret
Function at 0x45523c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x45532b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.00403b44
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00455220
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455315
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00403f34
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45530c
mov eax, dword [ebp - 0x14]
dec eax
sub eax, 2
jae 0x45530c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004040a4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45530c
mov eax, dword [ebp - 0x10]
call fcn.00403f34
call fcn.00408644
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004040a4
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00403b44
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455332
lea eax, [ebp - 0x10]
call fcn.00403af0
ret
Function at 0x455624
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45578d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00402af8
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x458d48], eax
mov eax, dword [ebp - 0xc]
mov dword [0x458d4c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x458d50], eax
mov eax, dword [0x459160]
cmp dword [eax], 2
sete byte [0x458cb8]
push 0x455798
call sub.KERNEL32.DLL_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004550c4
cmp byte [0x458cb8], 0
jne 0x4556b0
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004550f4
test al, al
je 0x4556b0
mov eax, dword [ebp - 0x4c]
mov dword [0x45ae98], eax
jmp 0x4556b7
xor eax, eax
mov dword [0x45ae98], eax
call fcn.004554c0
and eax, 0x7f
cmp eax, 0xb
ja case.0x4556c8.0
jmp dword [eax*4 + 0x4556cf]
mov byte [0x458ca4], 1
jmp case.0x4556c8.0
mov byte [0x458ca8], 1
jmp case.0x4556c8.0
mov byte [0x458cac], 1
jmp case.0x4556c8.0
mov byte [0x458cb0], 1
jmp case.0x4556c8.0
mov byte [0x458cb4], 1
jmp case.0x4556c8.0
mov byte [0x458cbc], 1
mov byte [0x458cc0], 1
jmp case.0x4556c8.0
mov byte [0x458cbc], 1
mov byte [0x458cc4], 1
jmp case.0x4556c8.0
mov byte [0x458cbc], 1
mov byte [0x458cc8], 1
jmp case.0x4556c8.0
mov byte [0x458ccc], 1
jmp case.0x4556c8.0
mov byte [0x458cd0], 1
jmp case.0x4556c8.0
mov byte [0x458cd4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455794
lea eax, [ebp - 4]
call fcn.00403af0
ret
Function at 0x40145b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, edi
mov ebp, dword [eax + 0x24]
add ebx, edi
mov eax, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x4014bc
mov edx, dword [edx + ecx*4]
add edx, edi
xor esi, esi
jmp 0x4014a5
movzx eax, al
or eax, 0x60
add esi, eax
inc edx
add esi, esi
mov al, byte [edx]
test al, al
jne 0x40149a
cmp esi, dword [esp + 0x10]
je 0x4014c6
mov edx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x14]
jb 0x401491
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx eax, word [ebp + ecx*2]
mov eax, dword [ebx + eax*4]
add eax, edi
jmp 0x4014be
Function at 0x402360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3f87
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x500
call fcn.00498569
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0x500
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004cdf10
add esp, 0x10
lea eax, [ebx + 4]
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, esi
call fcn.0040a7a0
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0xfffe
mov dword [ebp - 4], 1
call fcn.004987ea
push 0xfffe
mov edi, eax
push 0
push edi
call fcn.004cdf10
add esp, 0x10
mov dword [ebp - 0x18], edi
push 0x7fff
push edi
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push edi
call fcn.004cd41d
push str._skinimagesProductAgent
xor ecx, ecx
push 0x7fff
push edi
mov word [eax], cx
call fcn.004d0d0f
mov ecx, edi
mov dword [ebp - 0x3c], 0
add esp, 0x14
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402443
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x3c]
call fcn.004034d0
push edi
call fcn.004987f3
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea ecx, [esi + 0x14]
cmovae eax, dword [ebp - 0x3c]
push eax
push 0x1e
push 0
call fcn.004699d0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
mov edi, eax
call fcn.004033a0
cmp edi, 1
je 0x40249d
xor ebx, ebx
mov edi, esi
jmp 0x402553
mov edi, dword [ebx + 8]
push 0
push 0
mov dword [ebx + 8], esi
mov esi, edi
push 0
push 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
push 8
mov byte [ebp - 4], 4
call fcn.00498569
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [eax], ecx
mov dword [eax + 4], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
push 0x402c10
push 0
push 0
call fcn.004d0958
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40257e
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 8]
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x7c]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x20], 0
je 0x402527
lea ecx, [ebp - 0x24]
call fcn.004022c0
mov ecx, dword [ebx + 8]
mov dword [ebx + 8], 0
test ecx, ecx
je 0x40253c
mov eax, dword [ecx]
push 1
call dword [eax + 0x74]
cmp dword [ebp - 0x20], 0
jne 0x40258c
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402550
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x18]
test edi, edi
je 0x402560
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx + 0x74]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x20], 0
call fcn.00484c0c
call fcn.004d07c0
int3
Function at 0x409330
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f49bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x53d058]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], esi
mov edx, dword [ebx + 8]
mov ecx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
lea edi, [ecx + 2]
mov dword [ebp - 0x20], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4093a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.004034d0
cmp dword [ebp - 0x20], 8
lea edi, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x34]
xor ecx, ecx
add eax, eax
je 0x4093e8
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4093d4
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ecx + 0x34]
call fcn.0040e150
mov edi, dword [eax + 4]
test edi, edi
jne 0x409409
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + 0x38]
lea ecx, [ebp - 0x34]
call fcn.004033a0
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax + 0x38]
je 0x409429
lea ecx, [edi + 0x20]
push ecx
mov ecx, esi
call fcn.0040bca0
jmp 0x4094ba
push 1
xor eax, eax
mov dword [ebp - 0x54], 0
push 0x516890
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.004034d0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
mov dword [ebp - 4], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409462
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.0040ba70
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x54]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.004033a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x409b90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
jb 0x409bbb
mov ebx, dword [esi]
mov edi, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0xc]
add eax, eax
je 0x409bec
mov edi, eax
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x409bd1
mov eax, dword [ebp - 4]
mov ebx, eax
mov edi, dword [ebp - 0xc]
jmp 0x409bf1
mov ebx, dword [ebp - 0x14]
mov eax, ebx
push edx
push esi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.0040e150
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x409c20
cmp ecx, dword [ebx + 4]
je 0x409c20
add ecx, 0x20
push ecx
mov ecx, edi
call fcn.0040bca0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 8]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x409c5b
lfence
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x409c3c
mov eax, dword [esi]
push ecx
push eax
push 1
push 0x516890
push esi
push dword [ebp - 8]
mov ecx, edi
call fcn.0040dec0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00402fe0
int3