joyce8/EMBER2024-capa huggingface dataset:
Function at 0x564b40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6a1450]
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 dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0045ad40
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0052dfb0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
xor eax, eax
add ecx, edx
xor esi, esi
mov edi, ecx
sub edi, edx
cmp edx, ecx
cmova edi, eax
test edi, edi
je 0x564be3
lea ecx, [ecx]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x564bd0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
add ecx, 0x18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00565500
mov eax, dword [eax]
test eax, eax
je 0x564c14
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x30]
sub ecx, dword [eax + 0x1c]
mov dword [edx], ecx
test ecx, ecx
jg 0x564c47
mov dword [ebx], 0
xor bl, bl
cmp dword [ebp - 0x14], 0x10
jb 0x564c27
push dword [ebp - 0x28]
call fcn.004dbb70
add esp, 4
mov al, bl
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.005c9914
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 0x1c]
mov dword [ebx], eax
mov bl, 1
jmp 0x564c16
Function at 0x571a20
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c5b6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.UI::CWindow.0
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], 0
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x64]
push 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x55], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.0047a870
mov dword [edi + 0x64], eax
push 0
mov dword [edi + 0x6c], 0
lea ecx, [edi + 0x70]
push 0
mov byte [ebp - 4], 1
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
call fcn.0047a870
mov dword [edi + 0x70], eax
mov eax, edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x583280
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x583290
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x5832b7
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x5832a5
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x589880
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d40e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6f8738], edi
mov dword [edi], vtable.CRaceManager.0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004632c0
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.004833f0
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00467830
mov dword [edi + 0x14], eax
mov ecx, edi
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], 0
mov byte [edi + 0x1c], 0
call fcn.0058a7f0
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 0x59e130
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e9c7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CArea.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 7
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.004632c0
mov dword [edi + 0x64], eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 0xa
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
call fcn.004632c0
mov dword [edi + 0x8c], eax
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 0xb
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call fcn.00467800
mov dword [edi + 0x98], eax
mov eax, edi
mov dword [edi + 0x84], 0xff00ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5b8420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fceb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
sub edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc edi
sub esi, ebx
inc esi
je 0x5b84ed
test edi, edi
je 0x5b84ed
push 0x40
call fcn.005c9923
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5b848a
mov ecx, eax
call fcn.005bc9e0
mov ecx, eax
jmp 0x5b848c
xor ecx, ecx
mov eax, dword [ebp + 0x10]
cmp edi, esi
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
cmovg esi, edi
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0x24], esi
movzx eax, word [eax + 0x8c]
imul eax, edx
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
add eax, ebx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5bcb50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fe58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6f8758], edi
mov dword [edi], vtable.CSoundManager.0
lea ecx, [edi + 0x6c]
mov dword [ebp - 4], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
call fcn.00467830
mov dword [edi + 0x6c], eax
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x43480000
mov dword [edi + 0x1c], 0x447a0000
mov dword [edi + 0x20], 0x3f800000
mov dword [edi + 0x24], 0x3f800000
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5eba44
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6a1450]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005d4eb2
mov dword [ebp - 0x14], eax
cmp dword [0x6f43c4], esi
jne 0x5ebb37
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5ebac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5ebc17
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5ebc17
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5ebc17
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x6f43c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x6f43c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6f43cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6f43d4], eax
test eax, eax
je 0x5ebb34
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6f43d0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5ebb5c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5ebb4f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5ebb71
push 4
pop eax
jmp 0x5ebc19
cmp dword [ebp - 0x14], esi
je 0x5ebb71
push dword [0x6f43c4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5ebb56
mov eax, dword [0x6f43d0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5ebbcf
cmp dword [0x6f43d4], edi
je 0x5ebbcf
push eax
call ebx
push dword [0x6f43d4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5ebbcf
test eax, eax
je 0x5ebbcf
call ecx
test eax, eax
je 0x5ebbc4
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 0x5ebbc4
test byte [ebp - 8], 1
jne 0x5ebbcf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5ebbff
mov eax, dword [0x6f43c8]
cmp eax, edi
je 0x5ebbfc
push eax
call ebx
test eax, eax
je 0x5ebbfc
call eax
mov esi, eax
test esi, esi
je 0x5ebbfc
mov eax, dword [0x6f43cc]
cmp eax, edi
je 0x5ebbfc
push eax
call ebx
test eax, eax
je 0x5ebbfc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6f43c4]
call ebx
test eax, eax
je 0x5ebc17
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5ebc19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x403f2c
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
xor eax, eax
mov edx, dword [eax*4 + 0x87279c]
movsx ecx, byte [edx + 0x2a8]
test ecx, ecx
jne 0x40412e
inc eax
cmp eax, 4
jl 0x403f31
je 0x404101
cmp dword [0x872d7c], 0
jl 0x4040fd
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov esi, eax
mov edi, dword [esi*4 + 0x87279c]
cmp dword [edi + 0x2a4], 0
jne 0x403fb2
xor ebp, ebp
mov dword [edi + 0x2ac], ebp
mov dword [edi + 0x2b0], ebp
mov edx, 1
mov byte [edi + 0x2b4], dl
mov byte [edi + 0x2b5], dl
jmp 0x4040e4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
push ebx
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [esi*4 + 0x87279c]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x2ac], ecx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x2b0], edx
test esi, esi
jne 0x404046
mov edx, dword [0x872270]
sub ecx, edx
mov dword [ebx + 0x2ac], ecx
mov ecx, dword [0x872274]
sub dword [ebx + 0x2b0], ecx
mov ecx, dword [0x8723c4]
test ecx, ecx
je 0x404029
mov eax, dword [ebx + 0x2ac]
imul eax, dword [ebx + 0xc]
cdq
idiv ecx
mov dword [ebx + 0x2ac], eax
mov ecx, dword [0x8723c8]
test ecx, ecx
je 0x404046
mov eax, dword [ebx + 0x2b0]
imul eax, dword [ebx + 0x10]
cdq
idiv ecx
mov dword [ebx + 0x2b0], eax
xor edx, edx
mov byte [ebx + 0x2b4], dl
mov byte [ebx + 0x2b5], dl
mov edx, dword [ebx + 0x2ac]
test edx, edx
jl 0x404072
mov ecx, dword [ebx + 0x2b0]
test ecx, ecx
jl 0x404072
cmp edx, dword [ebx + 0xc]
jge 0x404072
cmp ecx, dword [ebx + 0x10]
jl 0x4040e4
mov byte [ebx + 0x2b4], 1
mov ecx, dword [0x872270]
mov ebp, dword [0x872274]
mov edi, dword [0x8723c4]
test edi, edi
je 0x40409c
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov edi, dword [0x8723c8]
test edi, edi
je 0x4040b3
mov edx, dword [ebx + 0x10]
imul ebp, edx
mov eax, ebp
cdq
idiv edi
mov ebp, eax
mov edx, dword [ebx + 0x2ac]
mov edi, ecx
neg edi
cmp edx, edi
jl 0x4040dd
mov eax, dword [ebx + 0x2b0]
mov edi, ebp
neg edi
cmp eax, edi
jl 0x4040dd
add ecx, dword [ebx + 0xc]
cmp edx, ecx
jge 0x4040dd
add ebp, dword [ebx + 0x10]
cmp eax, ebp
jl 0x4040e4
mov byte [ebx + 0x2b5], 1
inc esi
cmp esi, 4
jl 0x403f7e
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x20
ret
mov dword [0x872d7c], 0xffffffff
push 0x400
push 0x663360
call dword [0x5b85a0]
add esp, 8
push 0x663260
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x403f53
mov dword [0x872d7c], eax
push 0x663360
call dword [sym.imp.USER32.dll_GetKeyboardState]
movsx eax, byte [0x8724f4]
test eax, eax
jle 0x403f53
cmp eax, 1
jne 0x404159
mov byte [0x663361], 0x80
dec eax
mov byte [0x8724f4], al
jmp 0x403f53
Function at 0x40cdc0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], edx
mov eax, dword [eax]
inc dword [0x872754]
mov edi, ecx
xor esi, esi
xor esi, ecx
cmp ecx, 4
jl 0x40ce01
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul ebx, ebp, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, ebx
add edx, 4
add edi, 0xfffffffc
cmp edi, 4
jge 0x40cddb
cmp edi, 3
je 0x40ce12
cmp edi, 2
je 0x40ce1b
cmp edi, 1
je 0x40ce24
jmp 0x40ce2f
movzx edi, byte [edx + 2]
shl edi, 0x10
xor esi, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor esi, edi
movzx edx, byte [edx]
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edx, esi
shr edx, 0xd
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edi, esi
shr edi, 0xf
xor esi, edi
and esi, 0x7fffffff
add esi, 0x80000000
test eax, eax
je 0x40ce92
mov edi, dword [0x872750]
mov ebx, eax
mov ebp, ecx
inc edi
mov dword [0x872750], edi
cmp esi, dword [ebx + 0x1c]
jne 0x40ce89
cmp ebp, dword [ebx + 0x18]
jne 0x40ce83
push ebp
mov edx, dword [esp + 4]
push edx
push dword [ebx + 0x14]
call fcn.0046f8e0
add esp, 0xc
test eax, eax
je 0x40ce98
inc dword [0x87274c]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x40ce5d
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x410e08
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x108
push 0x105
push 0x660920
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x660920
call fcn.004652f8
lea edx, [esp + 4]
xor eax, eax
push eax
push eax
push edx
push 0x660c80
push 0x660920
call fcn.00470087
add esp, 0x14
mov edi, 0x660c80
lea edx, [esp + 4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x410e5b
mov eax, 0x660c80
call fcn.004652f8
mov edx, 0x660c80
movsx eax, byte [edx]
test eax, eax
je 0x410ea2
movzx esi, al
movzx ecx, byte [esi + 0x59b0c0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x410fde
cmp eax, 0x2f
jne 0x410e9a
mov byte [edx], 0x5c
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x410e7b
mov edi, 0x660c80
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x410eb9
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x410eb1
mov ecx, eax
test ecx, ecx
jle 0x410eed
xor edx, edx
lea eax, [ecx - 1]
movzx esi, byte [edx + 0x660c80]
movzx ebx, byte [esi + 0x59b0c0]
inc ebx
movsx edi, bl
add edx, edi
cmp edx, eax
jne 0x410ee9
cmp byte [edx + 0x660c80], 0x5c
je 0x410fc7
cmp edx, ecx
jl 0x410ec4
xor eax, eax
test eax, eax
jne 0x410f11
mov edi, 0x660c80
mov edx, 0x878338
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x410f07
mov esi, 0x660a40
mov edi, 0x660920
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x410f1b
mov edx, 0x660a40
movsx eax, byte [edx]
test eax, eax
je 0x410f58
movzx esi, al
movzx ecx, byte [esi + 0x59b0c0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x410fd6
cmp eax, 0x5c
jne 0x410f50
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x410f31
mov esi, 0x660b60
mov edi, 0x660c80
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x410f62
mov edx, 0x660b60
movsx eax, byte [edx]
test eax, eax
je 0x410f9b
movzx esi, al
movzx ecx, byte [esi + 0x59b0c0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x410fd1
cmp eax, 0x5c
jne 0x410f93
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x410f78
xor eax, eax
push eax
push 0x1a
push 0x660ec0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
push eax
push 5
push 0x660fe0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x108
pop ebx
pop esi
pop edi
ret
mov eax, 1
jmp 0x410eef
add edx, 2
jmp 0x410f94
add edx, 2
jmp 0x410f51
add edx, 2
jmp 0x410e9b
Function at 0x4113d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
sub esp, 0x38
mov dword [esp], 0x3003
mov dword [esp + 4], 0x41c26c
mov ecx, dword [0x8722b0]
mov dword [esp + 0x10], ecx
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [0x59b7cc]
mov dword [esp + 0x24], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
push 0x2711
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x411447
mov eax, 1
add esp, 0x38
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [0x8729dc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
movsx eax, dx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
movsx ebp, cx
mov edx, dword [0x59b7cc]
xor ecx, ecx
push ecx
push dword [0x8722b0]
push ecx
push dword [0x8729dc]
push ebp
push eax
push ecx
push ecx
push 0x56000000
push edx
push edx
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x8729d8], eax
test eax, eax
je 0x41143d
xor eax, eax
add esp, 0x38
pop ebp
ret

Function at 0x412ca0
Capabilities:
Create process on windows

Disassembly:
push ebx
sub esp, 0x54
mov ebx, eax
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [esp], 0x44
mov edx, 5
mov word [esp + 0x30], dx
xor eax, eax
lea edx, [esp]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x54
pop ebx
ret

Function at 0x416e2c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x59b710]
cmp eax, 0x270
jl 0x416efa
xor edx, edx
mov eax, dword [edx*4 + 0x5ce6c0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce6c4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5cecf4]
xor ecx, dword [eax*4 + 0x577558]
mov dword [edx*4 + 0x5ce6c0], ecx
inc edx
cmp edx, 0xe3
jl 0x416e3e
cmp edx, 0x26f
jge 0x416ec6
mov eax, dword [edx*4 + 0x5ce6c0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce6c4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5ce334]
xor ecx, dword [eax*4 + 0x577558]
mov dword [edx*4 + 0x5ce6c0], ecx
inc edx
cmp edx, 0x26f
jl 0x416e86
mov edx, dword [0x5cf07c]
and edx, 0x80000000
mov eax, dword [0x5ce6c0]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5cecf0]
and edx, 1
xor ecx, dword [edx*4 + 0x577558]
mov dword [0x5cf07c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x59b710], edx
mov eax, dword [eax*4 + 0x5ce6c0]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x417c00
Capabilities:
Get file version info

Disassembly:
push edi
push ebp
push ebx
sub esp, 0xc
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x417ca1
test edi, edi
je 0x417ca1
lea ecx, [esp + 8]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jbe 0x417c95
mov dword [esp + 4], eax
push eax
call fcn.00470a1f
pop ecx
mov ebx, eax
test ebx, ebx
je 0x417cad
push ebx
push dword [esp + 8]
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x417c8e
mov dword [esp], 0
lea ebp, [esp]
lea ecx, [esp + 4]
push ecx
push ebp
push 0x878338
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x417c8e
mov ecx, dword [esp]
test ecx, ecx
je 0x417c8e
mov ecx, dword [ecx + 8]
mov dword [edi + 4], ecx
mov ebp, dword [esp]
mov ecx, dword [ebp + 0xc]
mov dword [edi], ecx
push ebx
call fcn.00470a2d
xor eax, eax
add esp, 0x10
pop ebx
pop ebp
pop edi
ret
push ebx
call fcn.00470a2d
pop ecx
mov eax, 0x80004005
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x80070057
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x8007000e
add esp, 0xc
pop ebx
pop ebp
pop edi
ret