joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408fe0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x42e6dc]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409018
sub eax, edx
inc eax
push eax
call fcn.0040a3bf
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409032
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040afc9
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x409131
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x409131
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409078
sub ecx, esi
je 0x4090ad
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x409093
cmp al, 0x5a
jg 0x409093
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4090a0
sub eax, esi
cmp edx, eax
jb 0x409083
lea ecx, [esp + 0x34]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4090b6
sub ecx, esi
je 0x4090ed
mov al, byte [esp + edx + 0x34]
cmp al, 0x41
jl 0x4090d3
cmp al, 0x5a
jg 0x4090d3
add al, 0x20
mov byte [esp + edx + 0x34], al
lea ecx, [esp + 0x34]
inc edx
lea esi, [ecx + 1]
jmp 0x4090e0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4090e0
sub ecx, esi
cmp edx, ecx
jb 0x4090c1
mov ecx, edi
lea eax, [esp + 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409113
test dl, dl
je 0x40910f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409113
add eax, 2
add ecx, 2
test dl, dl
jne 0x4090f3
xor eax, eax
jmp 0x409118
sbb eax, eax
or eax, 1
test eax, eax
je 0x409158
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x409071
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b081
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0040af6f
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b081
mov ecx, dword [esp + 0x140]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040af6f
mov esp, ebp
pop ebp
ret
Function at 0x409180
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4091b3
sub eax, edx
inc eax
push eax
call fcn.0040a3bf
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4091d0
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040afc9
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x4092e7
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x4092e7
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409220
sub ecx, esi
je 0x409253
jmp 0x409230
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x409240
cmp al, 0x5a
jg 0x409240
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409246
sub eax, esi
cmp edx, eax
jb 0x409230
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409260
sub ecx, esi
je 0x40929f
jmp 0x409270
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x409288
cmp al, 0x5a
jg 0x409288
add al, 0x20
mov byte [ebp + edx - 0x10c], al
lea ecx, [ebp - 0x10c]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409292
sub ecx, esi
cmp edx, ecx
jb 0x409270
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4092c7
test dl, dl
je 0x4092c3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4092c7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4092a7
xor eax, eax
jmp 0x4092cc
sbb eax, eax
or eax, 1
test eax, eax
je 0x40930b
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x409213
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b081
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040af6f
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b081
add esp, 4
push dword [ebp - 0x128]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040af6f
mov esp, ebp
pop ebp
ret
Function at 0x41a24b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040ff1a
mov dword [ebp - 0x14], eax
cmp dword [0x431050], edi
jne 0x41a33c
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41a2c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41a41c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a41c
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a41c
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x431050], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x431054], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x431058], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x431060], eax
test eax, eax
je 0x41a339
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43105c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41a361
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a354
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41a376
push 4
pop eax
jmp 0x41a41e
cmp dword [ebp - 0x14], edi
je 0x41a376
push dword [0x431050]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41a35b
mov eax, dword [0x43105c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41a3d4
cmp dword [0x431060], esi
je 0x41a3d4
push eax
call ebx
push dword [0x431060]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41a3d4
test eax, eax
je 0x41a3d4
call ecx
test eax, eax
je 0x41a3c9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41a3c9
test byte [ebp - 8], 1
jne 0x41a3d4
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41a404
mov eax, dword [0x431054]
cmp eax, esi
je 0x41a401
push eax
call ebx
test eax, eax
je 0x41a401
call eax
mov edi, eax
test edi, edi
je 0x41a401
mov eax, dword [0x431058]
cmp eax, esi
je 0x41a401
push eax
call ebx
test eax, eax
je 0x41a401
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x431050]
call ebx
test eax, eax
je 0x41a41c
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41a41e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040af6f
leave
ret
Function at 0x41dd72
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00414b61
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41ddaa
xor eax, eax
jmp 0x41ddd6
cmp esi, dword [ebp - 4]
je 0x41ddd3
cmp dword [ebp + 0xc], 0
je 0x41ddd3
push dword [edi + 0x9c]
call fcn.0041d980
push dword [edi + 0x9c]
mov esi, eax
call fcn.004102c4
pop ecx
pop ecx
cmp esi, eax
je 0x41dda6
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x405a12
pop dword [ebp - 0x20]
mov eax, 0x178f4c52
add eax, 0xe8b10dc0
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x81bc4997
sub dword [ebp - 0x30], 0x336a044c
mov dword [ebp - 0x2c], 0xb56054d0
add dword [ebp - 0x2c], 0x7cd2f775
mov dword [ebp - 0x28], 0x82283b7d
sub dword [ebp - 0x28], 0x35dbf74f
mov dword [ebp - 0x24], 0xbe7cea21
sub dword [ebp - 0x24], 0xbe7cea21
lea eax, [ebp - 0x30]
push eax
mov eax, 0x92b52fcd
sub eax, 0x9274aec9
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xb5e1a98d
add dword [ebp - 0x30], 0xbe90bfc9
mov dword [ebp - 0x2c], 0x37bc0f41
add dword [ebp - 0x2c], 0x9b05234
mov dword [ebp - 0x28], 0x9ee504d5
add dword [ebp - 0x28], 0xc48a6797
mov dword [ebp - 0x24], 0x5a16c586
add dword [ebp - 0x24], 0xa5e93a7a
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xf170d5ae
sub eax, 0xf13054ae
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x38f94
push 0
call eax
mov ecx, 0x9cb7d46
add ecx, 0xf634d2b3
mov edx, eax
mov ebx, 0xcfcf1706
sub ebx, 0xcf883306
add ebx, dword [ebp - 0x20]
mov edi, 0x79b9da6c
add edi, 0xc1f4aefb
xor dword [ebp - 0x14], eax
mov esi, dword [ebx]
xor dword [ebp - 0x14], 0x68f14d57
sub esi, edi
sub dword [ebp - 0x10], ecx
mov dword [edx], esi
add dword [ebp - 0x1c], ecx
add edx, 4
add ebx, 0x84c83e91
add ebx, 0x7b37c173
loop 0x405b34
add eax, 0x132b7
mov ebx, eax
add eax, 5
mov ecx, 0xdc9dade7
add ecx, 0x23a25219
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x412940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x412999
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x412999
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41298a
cmp esi, edx
jae 0x412999
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x412978
cmp esi, edx
jae 0x412999
cmp word [esi], 0
je 0x412999
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x412d60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x5a33dc]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00412c70
mov esi, eax
test esi, esi
je 0x412de1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x412dc8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x412e49
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00412d60
mov esi, eax
test esi, esi
jne 0x412e9b
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x412e10
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x412e62
push eax
call esi
mov dword [esp + 0x10], 0
push dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00412a40
mov ecx, dword [esp + 0x10]
mov edi, eax
test ecx, ecx
je 0x412e82
push ecx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412dc8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 4
Function at 0x415750
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d34b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5a33dc]
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 edi, edx
mov byte [ebp - 0x231], cl
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00515b70
add esp, 0xc
mov dword [ebp - 0x228], 0x104
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4158eb
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4157f6
sub eax, edx
mov ecx, edi
mov edx, dword [edi + 0x10]
sar eax, 1
cmp dword [edi + 0x14], 8
jb 0x415812
mov ecx, dword [edi]
cmp edx, eax
jne 0x4158e5
push edx
lea edx, [ebp - 0x218]
call fcn.00429870
add esp, 4
test eax, eax
jne 0x4158e5
xorps xmm0, xmm0
mov dword [ebp - 0x21c], eax
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
cmp byte [ebp - 0x231], 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
mov edx, dword [ebp + 8]
je 0x415877
push 0x20119
jmp 0x41587c
push 0x20219
push eax
call fcn.0044a810
add esp, 8
test al, al
je 0x4158bf
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4158a6
lock inc dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x224]
call fcn.00414fe0
add esp, 8
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x4158d6
push eax
call ebx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
jmp 0x4157a0
inc esi
jmp 0x4157a0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4158fc
push eax
call ebx
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 3
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x415932
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x415932
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x415932
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.004d84d0
mov esp, ebp
pop ebp
ret
Function at 0x41e100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e135
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5a33dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 7
mov word [ebx + 0x18], ax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 7
mov word [ebx + 0x30], ax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], 7
mov word [ebx + 0x48], ax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], 7
mov word [ebx + 0x60], ax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 7
mov word [ebx + 0x78], ax
mov byte [ebp - 4], 5
lea edi, [ebx + 0x90]
mov dword [ebp - 0x18], edi
push eax
mov dword [edi], eax
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
call fcn.00431bf0
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 7
lea ecx, [edi + 0xc]
push 0x10
mov dword [edi], 0x3f800000
call fcn.0042a640
mov edx, dword [edi + 4]
lea eax, [ebp - 0x10]
push eax
push 0x10
lea ecx, [edi + 0xc]
mov dword [ebp - 0x10], edx
call fcn.0042a240
mov dword [edi + 0x18], 7
mov eax, ebx
mov dword [edi + 0x1c], 8
mov byte [ebx + 0xb4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425b30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], eax
jb 0x425b55
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x425b74
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x425b63
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebp - 0x14], eax
cmp edx, ebx
jne 0x425b9e
mov eax, ebx
jmp 0x425ba2
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x425c1f
cmp dword [edi + 0x14], 8
lea ecx, [esi + 8]
mov edx, edi
jb 0x425bb3
mov edx, dword [edi]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x14]
cmp eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
jb 0x425bc9
mov ecx, dword [ecx]
cmp eax, dword [ebp - 8]
jne 0x425bdb
push eax
call fcn.00429870
add esp, 4
test eax, eax
je 0x425be5
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x425b96
cmp dword [ebp - 0x18], 8
lea edx, [esi + 8]
jb 0x425bf0
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
jb 0x425bf8
mov edi, dword [edi]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x425c0f
push eax
mov ecx, edi
call fcn.00429870
add esp, 4
test eax, eax
je 0x425c11
mov esi, ebx
mov eax, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x426140
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
lea eax, [ecx*8]
mov ecx, dword [eax + edx]
add edx, 4
add eax, edx
mov edx, ecx
mov dword [ebp - 8], eax
cmp edx, esi
jne 0x4261aa
mov eax, esi
jmp 0x4261ae
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x4261cd
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x4261c0
mov ecx, dword [ecx]
mov eax, dword [ebp - 8]
jmp 0x4261a2
pop edi
pop esi
mov dword [ebx], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
push ebx
push esi
lea esi, [eax + 8]
mov dword [ebp - 8], eax
mov ebx, ecx
mov ecx, dword [esi + 0x10]
jb 0x42b844
mov esi, dword [esi]
xor edx, edx
push edi
mov edi, 0x811c9dc5
add ecx, ecx
je 0x42b866
mov eax, ecx
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x42b852
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
pop edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x42b89d
cmp ecx, eax
jne 0x42b895
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x42b8a5
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x42b8a5
cmp ecx, eax
jne 0x42b8a5
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.0042a3c0
mov eax, dword [ebp - 0xc]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42ba40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x42bab6
cmp eax, edi
jne 0x42baae
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x42babe
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x42babe
cmp eax, edi
jne 0x42babe
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [edx + 8]
call fcn.00428ad0
push 0x18
push edi
call fcn.004d8a95
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8