joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445560
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x20a
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov dword [ebp - 0x218], 0
call fcn.00455270
add esp, 0xc
cmp dword [ebx + 0x10], 0
je 0x4455fc
cmp dword [ebx + 0x14], 8
jb 0x4455b6
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x4455be
mov edi, dword [edi]
push ebx
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [ebp + 0x18], 0
je 0x4455f4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4455f4
push eax
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esi + 0x10], 0
je 0x445642
jmp 0x44561f
cmp dword [esi + 0x10], 0
je 0x445642
cmp dword [edi + 0x14], 8
jb 0x44560a
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0046652e
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
cmp dword [esi + 0x14], 8
jb 0x445634
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..lnk
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00468ba8
mov ebx, dword [ebp - 0x214]
xor eax, eax
add esp, 0xc
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x210], ax
jne 0x445681
xor ecx, ecx
jmp 0x44569f
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445690
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.00407490
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045230d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x448df0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4090], ebx
je 0x448e9c
cmp dword [esi + 0x6c], ebx
jbe 0x448e9c
mov eax, 0xffffff78
lea ebx, [esi + 0x88]
sub eax, esi
mov dword [ebp - 4], eax
push edi
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x4094]
xor eax, ecx
mov edx, dword [esi + 0x40a0]
mov edi, dword [esi + 0x409c]
movzx eax, al
and edi, 0xfffd
shr ecx, 8
or edi, 2
mov eax, dword [edx + eax*4]
xor eax, ecx
mov ecx, dword [esi + 0x409c]
mov dword [esi + 0x4094], eax
movzx eax, al
add eax, dword [esi + 0x4098]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x4098], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, edi
xor eax, 1
mov dword [esi + 0x409c], ecx
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
add eax, ebx
cmp eax, dword [esi + 0x6c]
jb 0x448e20
xor ebx, ebx
pop edi
push dword [esi + 0x6c]
mov ecx, dword [esi + 8]
lea eax, [esi + 0x88]
push eax
push dword [esi + 0x20]
push dword [esi + 0x1c]
call ecx
add esp, 0x10
or ecx, 0xffffffff
cmp eax, dword [esi + 0x6c]
mov dword [esi + 0x6c], 0
cmovne ebx, ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483983
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ad070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4b19b0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x4b19b0
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x499a94
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00449690
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a9d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test ebx, ebx
jne 0x44aa2a
cmp byte [esi + 0x2c], bl
jne 0x44aa21
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44aa00
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.00449690
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov edi, dword [esi + 0x18]
test edi, edi
je 0x44aa40
mov ecx, edi
mov edi, dword [edi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test edi, edi
jne 0x44aa31
push 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push ebx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
call fcn.00460443
push ebx
call fcn.004609b5
push 0
mov edi, eax
push 0
push ebx
mov dword [ebp + 8], edi
call fcn.00460443
add esp, 0x1c
test edi, edi
jg 0x44aaac
cmp byte [esi + 0x2c], 0
jne 0x44aa21
mov edx, dword [str.Error_document_empty.]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 0xc
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44aaa0
jmp 0x44aa07
lea eax, [edi + 1]
push eax
call fcn.004529fd
push ebx
mov ebx, dword [ebp + 8]
mov edi, eax
push 1
push ebx
push edi
mov byte [edi], 0
call fcn.00460b8c
add esp, 0x14
cmp eax, 1
je 0x44ab04
push edi
call fcn.004529f8
add esp, 4
cmp byte [esi + 0x2c], 0
jne 0x44aa21
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44aaf8
jmp 0x44aa07
mov byte [edi + ebx], 0
mov eax, edi
cmp byte [edi], 0
mov ecx, edi
je 0x44ab2f
mov dl, byte [eax]
mov ebx, eax
cmp dl, 0xd
jne 0x44ab26
inc eax
mov byte [ecx], 0xa
cmp byte [eax], 0xa
cmovne eax, ebx
jmp 0x44ab28
mov byte [ecx], dl
inc eax
inc ecx
cmp byte [eax], 0
jne 0x44ab11
mov byte [ecx], 0
mov ecx, esi
mov eax, dword [esi]
push 0
push 0
push edi
call dword [eax + 8]
push edi
call fcn.004529f8
add esp, 4
cmp byte [esi + 0x2c], 0
sete al
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x44e240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x2c]
nop
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, esi
sub edx, dword [edi + 0x6c]
mov dword [ebp - 4], edx
cmp dword [edi + 0x6c], eax
jb 0x44e2cf
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.00455810
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x44e29f
sub eax, esi
jmp 0x44e2a1
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x44e290
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x44e2c0
sub eax, esi
jmp 0x44e2c2
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x44e2b1
mov edx, dword [ebp - 4]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x44e38b
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x44e2fc
xor eax, eax
jmp 0x44e34f
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x44e319
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.00450a60
jmp 0x44e331
cmp eax, 2
jne 0x44e337
mov edx, dword [ebx]
test edx, edx
jne 0x44e328
xor eax, eax
jmp 0x44e334
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.0044ef50
add esp, 4
mov dword [ebx + 0x30], eax
push dword [ebp - 4]
push dword [ebx]
push dword [ebp - 8]
call fcn.00455810
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x44e377
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x44e38b
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x44e250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f88b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046f70a

Function at 0x475314
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00474fd4
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
mov ecx, 0x2cc70ac
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section._RDATA
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x14896790
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434004]
jne 0x40100a
repz ret
jmp fcn.004019eb

Function at 0x406948
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040256b
and dword [ebp - 4], 0
cmp dword [0x436264], 0
mov ebx, eax
jne 0x4069f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406aaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406aaa
push eax
call fcn.004024f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x436264], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436268], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43626c], eax
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x436274], eax
test eax, eax
je 0x4069f9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x436270], eax
mov eax, dword [0x436270]
cmp eax, ebx
je 0x406a51
cmp dword [0x436274], ebx
je 0x406a51
push eax
call fcn.00402574
push dword [0x436274]
mov esi, eax
call fcn.00402574
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a51
test edi, edi
je 0x406a51
call esi
test eax, eax
je 0x406a48
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a48
test byte [ebp - 0xc], 1
jne 0x406a51
or dword [ebp + 0x10], 0x200000
jmp 0x406a8a
mov eax, dword [0x436268]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a8a
mov eax, dword [0x43626c]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x436264]
call fcn.00402574
pop ecx
test eax, eax
je 0x406aaa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406aac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4092ca
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x434004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test ebx, ebx
jle 0x409327
and dword [ebp - 0x808], 0
lea ecx, [ebp - 0x808]
call fcn.004092c2
mov al, byte [ebp - 0x808]
xor byte [edi + esi], al
cmp ebx, 0xf
jne 0x409322
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc esi
cmp esi, ebx
jl 0x4092e4
pop esi
cmp ebx, 0x2d
jne 0x40933e
or dword [0x234da9c], 0xffffffff
mov dword [0x234da98], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret
Function at 0x412e30
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 0x412e89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x412e89
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 0x412e7a
cmp esi, edx
jae 0x412e89
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x412e68
cmp esi, edx
jae 0x412e89
cmp word [esi], 0
je 0x412e89
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x413260
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x5b03ec]
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.00413170
mov esi, eax
test esi, esi
je 0x4132e1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4132c8
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.004e4cdc
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 0x413349
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00413260
mov esi, eax
test esi, esi
jne 0x41339b
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 0x413310
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x413362
push eax
call esi
mov dword [esp + 0x10], 0
push dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00412f40
mov ecx, dword [esp + 0x10]
mov edi, eax
test ecx, ecx
je 0x413382
push ecx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4132c8
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.004e4cdc
mov esp, ebp
pop ebp
ret 4
Function at 0x415fb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5b03ec]
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.00521d00
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 0x416154
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416056
sub eax, edx
mov ecx, edi
mov edx, dword [edi + 0x10]
sar eax, 1
cmp dword [edi + 0x14], 8
jb 0x416072
mov ecx, dword [edi]
cmp edx, eax
jne 0x41610b
push edx
lea edx, [ebp - 0x218]
call fcn.00429610
add esp, 4
test eax, eax
jne 0x41610b
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 0x4160d3
push 0x20119
jmp 0x4160d8
push 0x20219
push eax
call fcn.0044f160
add esp, 8
test al, al
jne 0x416111
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x4160fc
push eax
call ebx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
jmp 0x416000
inc esi
jmp 0x416000
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41612e
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.004159c0
mov eax, dword [ebp - 0x224]
add esp, 8
test eax, eax
je 0x416154
push eax
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x416165
push eax
call ebx
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 4
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x41619b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41619b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41619b
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.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x41e6b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55aa35
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5b03ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 7
mov word [edi + 0x60], ax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov byte [ebp - 4], 5
lea esi, [edi + 0x90]
mov dword [ebp - 0x10], esi
push eax
mov dword [esi], eax
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004334d0
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 7
mov ecx, esi
push 8
mov dword [esi], 0x3f800000
call fcn.00429670
mov byte [edi + 0xb4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425950
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 0x425975
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x425994
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x425983
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 0x4259be
mov eax, ebx
jmp 0x4259c2
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x425a3f
cmp dword [edi + 0x14], 8
lea ecx, [esi + 8]
mov edx, edi
jb 0x4259d3
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 0x4259e9
mov ecx, dword [ecx]
cmp eax, dword [ebp - 8]
jne 0x4259fb
push eax
call fcn.00429610
add esp, 4
test eax, eax
je 0x425a05
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x4259b6
cmp dword [ebp - 0x18], 8
lea edx, [esi + 8]
jb 0x425a10
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
jb 0x425a18
mov edi, dword [edi]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x425a2f
push eax
mov ecx, edi
call fcn.00429610
add esp, 4
test eax, eax
je 0x425a31
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 0x425ee0
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 0x425f4a
mov eax, esi
jmp 0x425f4e
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x425f6d
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x425f60
mov ecx, dword [ecx]
mov eax, dword [ebp - 8]
jmp 0x425f42
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