joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c5f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5048cd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54c154]
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 eax, edx
mov dword [ebp - 0x2c], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push eax
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
test ebx, ebx
jne 0x45c67a
call eax
mov ecx, eax
mov edx, 0x54dd80
jmp 0x45c682
mov ecx, dword [ebp - 0x24]
mov edx, 0x54dd00
mov eax, dword [edx + 4]
cmp eax, dword [0x54dd04]
jne 0x45c764
test ecx, ecx
jne 0x45c764
mov ecx, dword [ebp - 0x1c]
test ebx, ebx
jne 0x45c6cc
mov dword [esi], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov eax, esi
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.004a44cd
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x18]
mov edx, edi
sub edx, ecx
cmp ebx, edx
jae 0x45c6dc
lea edi, [ecx + ebx]
jmp 0x45c70f
jbe 0x45c712
mov eax, dword [ebp - 0x14]
sub eax, ecx
cmp ebx, eax
jbe 0x45c6fc
push ecx
push ebx
lea ecx, [ebp - 0x1c]
lfence
call fcn.00464720
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
jmp 0x45c712
sub ebx, edx
push ebx
push 0
push edi
call fcn.004d78d0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add edi, ebx
mov dword [ebp - 0x18], edi
push ecx
sub edi, ecx
xorps xmm0, xmm0
push edi
push 0
push dword [ebp - 0x2c]
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45c737
mov eax, dword [ebp - 0x24]
mov edx, 0x54dd00
jmp 0x45c73f
call dword [ebp - 0x28]
mov edx, 0x54dd80
mov ecx, dword [edx + 4]
cmp ecx, dword [0x54dd04]
jne 0x45c784
test eax, eax
jne 0x45c784
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
jmp 0x45c6ae
push edx
push ecx
mov edx, str.GetFileVersionInfoSize_failed
lea ecx, [ebp - 0x40]
call fcn.00459e00
add esp, 8
lea eax, [ebp - 0x40]
push 0x549438
push eax
call fcn.004d7fa4
push edx
push eax
mov edx, str.GetFileVersionInfo_failed
lea ecx, [ebp - 0x40]
call fcn.00459e00
add esp, 8
lea eax, [ebp - 0x40]
push 0x549438
push eax
call fcn.004d7fa4
int3
Function at 0x45c890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504999
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x54c154]
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, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
mov ecx, edx
mov dword [ebp - 0x48], edi
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
lea esi, [ecx + 2]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c8f4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00415d70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x45c939
push 1
push 0x520bb8
lea ecx, [ebp - 0x3c]
call fcn.0040eff0
push 7
push str.Install
lea ecx, [ebp - 0x3c]
call fcn.0040eff0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
push ecx
push eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0045c7b0
add esp, 8
mov byte [ebp - 4], 4
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
push 0x7fff
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00415d00
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
call fcn.004d78d0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ecx
push 0
push 0
push 0x52a910
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x45ca2a
mov edx, dword [ebp - 0x20]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ca10
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00415d70
jmp 0x45ca75
push str.get_kit_version
mov edx, 4
lea ecx, [ebp - 0xf0]
call fcn.0040a850
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
mov al, byte [esi + 0x48]
test al, al
je 0x45ca6a
mov edx, str.RegQueryValueEx_ProductVersion_failed
mov ecx, esi
call fcn.00411300
mov al, byte [esi + 0x48]
test al, al
je 0x45ca6a
push ebx
mov ecx, esi
call fcn.00430910
lea ecx, [ebp - 0xf0]
call fcn.0040a6f0
lea ecx, [ebp - 0x20]
call fcn.00433390
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45ca92
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
call fcn.004161c0
mov eax, edi
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.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x45fbc0
Capabilities:
Query or enumerate registry value

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 0x504f5d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x94], esi
push 0x58
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], esi
push 0
push eax
call fcn.004d78d0
add esp, 0xc
call fcn.0047bf90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 6
push ecx
mov ecx, eax
call fcn.0047c460
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x94], eax
push ecx
push str.Fingerprint
push eax
lea edx, [ebp - 0x18]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], 0x54dd00
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409f20
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jne 0x45fc88
push 0x17
push str.no_fingerprint_provided
lea ecx, [ebp - 0x38]
call fcn.00415d70
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
mov edi, 0x400000
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 4
push eax
push 0
push 0x10
push str.KeepDumps
push dword [ebp - 0x94]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
test ecx, ecx
je 0x45fcd8
mov eax, 0x54dd80
jmp 0x45fcdf
xor ecx, ecx
mov eax, 0x54dd00
mov eax, dword [eax + 4]
cmp eax, dword [0x54dd04]
jne 0x45fcf3
test ecx, ecx
jne 0x45fcf3
mov eax, dword [ebp - 0x18]
jmp 0x45fcf9
xor eax, eax
test ecx, ecx
jne 0x45fd07
test eax, eax
mov edi, 0x400002
setne byte [ebp - 0x8f]
mov eax, dword [0x557f10]
lea ecx, [ebp - 0x90]
push 0
push 0
push edi
push ecx
call eax
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x45fd35
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], eax
mov byte [esi + 0x20], al
jmp 0x45fd9f
push 0x17
push str.failed_bdch_SetSettings
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
call fcn.00416010
movups xmm0, xmmword [ebp - 0xb0]
mov dword [esi], edi
mov dword [esi + 4], 0x54dd10
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmmword [esi + 8], xmm0
movq xmm0, qword [ebp - 0xa0]
movq qword [esi + 0x18], xmm0
mov byte [esi + 0x20], 1
lea ecx, [ebp - 0x38]
call fcn.004161c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4645b0
Capabilities:
Encode data using xor
Hash data using fnv
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x4645c6
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4645e2
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4645d1
mov ebx, dword [edi + 0x28]
lea esi, [edi + 0x18]
imul eax, edx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, 0xe6546b64
cmp dword [esi + 0x14], 0x10
mov dword [ebp + 8], eax
jb 0x46460d
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x464629
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x464618
imul eax, edx, 0xcc9e2d51
lea esi, [edi + 0x30]
mov edi, dword [esi + 0x10]
rol eax, 0xf
imul ebx, eax, 0x1b873593
xor ebx, dword [ebp + 8]
rol ebx, 0xd
add ebx, 0xfaddaf14
cmp dword [esi + 0x14], 0x10
lea ebx, [ebx + ebx*4]
jb 0x464655
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x464671
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x464660
imul eax, edx, 0xcc9e2d51
pop edi
pop esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ebx
rol eax, 0xd
pop ebx
lea eax, [eax + eax*4]
add eax, 0xe6546b64
pop ebp
ret 4

Function at 0x4656f0
Capabilities:
Get process heap flags

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 0x5056ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebx + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], 0
push eax
call fcn.0040f220
sub esp, 0x34
lea ecx, [ebp - 0x18]
mov eax, esp
mov byte [eax + 0x30], 3
call fcn.0040b1b0
add esp, 0x4c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov byte [esi + 0x20], 0
test ecx, ecx
je 0x46578f
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x467df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.004a4626
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x467ea0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x459030
push 0
push 0
call fcn.004defef
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x467e84
cmp dword [esi + 0x14], 0
jne 0x467e92
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
mov al, 1
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.0048f7d4
call fcn.004dee57
int3
Function at 0x46ba00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5062bb
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x4c8
jne 0x46baa3
push str.upgrade_controller::process_message
push str.WM_END_DIALOG
lea ecx, [ebp - 0x838]
call fcn.0040a4d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x424]
mov esi, dword [esi + 0xc]
push str.upgrade_view::EndDialog
call fcn.0040a3c0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
push 0
mov dword [esi + 0x250], eax
mov eax, dword [ecx]
push 0
push 0x10
mov byte [esi + 0x524], 1
call dword [eax + 0x14]
lea ecx, [ebp - 0x424]
call fcn.0040a5f0
lea ecx, [ebp - 0x838]
call fcn.0040a5f0
xor eax, eax
jmp 0x46bafe
cmp eax, 0x11
jne 0x46bac5
push str.upgrade_controller::process_message
push str.WM_QUERYENDSESSION
lea ecx, [ebp - 0x838]
call fcn.0040a4d0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x16
jne 0x46baf1
push str.upgrade_controller::process_message
push str.WM_ENDSESSION
lea ecx, [ebp - 0x424]
call fcn.0040a4d0
lea ecx, [ebp - 0x424]
call fcn.0040a5f0
mov eax, 1
jmp 0x46bafe
push ecx
push dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
push eax
call fcn.0046c550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46c250
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506479
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00476860
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x464]
mov eax, dword [ebp + 8]
mov dword [ebx], vtable.upgrade_view.0
mov dword [ebx + 0x14], vtable.upgrade_view.1.0
mov dword [ebx + 0x460], eax
call fcn.0041b8b0
mov byte [ebp - 4], 1
lea edi, [ebx + 0x498]
mov dword [ebp + 8], edi
lea esi, [edi + 0xc]
mov eax, dword [0x5575f8]
mov dword [edi], vtable.sciter::behavior_factory.0
mov dword [edi + 8], str.drag_window
mov dword [edi + 4], eax
mov dword [ebp + 8], esi
mov dword [0x5575f8], edi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0xc
lfence
call fcn.004a4626
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [edi], vtable.sciter::drag_window_factory.0
lea esi, [ebx + 0x4ac]
xor eax, eax
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call fcn.0041eb70
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 6
mov dword [ebx + 0x500], eax
xor eax, eax
mov dword [ebx + 0x504], 0
mov word [ebx + 0x504], ax
mov eax, edi
mov dword [ebx + 0x514], 0
mov dword [ebx + 0x518], 7
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46c380
sub eax, dword [ebp + 8]
lea ecx, [ebx + 0x504]
sar eax, 1
push eax
push edi
call fcn.00415d70
mov dword [ebx + 0x520], 0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebx + 0x24], reloc.OLEAUT32.dll_VariantClear
mov dword [ebx + 0x28], 0xc0000
mov dword [ebp + 8], esp
call fcn.004191e0
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
call fcn.00419030
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.00419a40
add esp, 0x30
mov ecx, esi
push eax
call fcn.0041c6f0
lea ecx, [ebp - 0x30]
call fcn.00418320
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x46c408
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x4c]
call fcn.004161c0
lea ecx, [ebp - 0x64]
call fcn.004161c0
mov eax, dword [ebx + 0x4dc]
lea ecx, [ebx + 0x478]
mov dword [0x557a28], eax
mov dword [0x557a20], eax
lea eax, [ebx + 0x4e0]
push eax
call fcn.0041eab0
mov dword [ebx + 0x51c], 0
mov eax, ebx
mov byte [ebx + 0x524], 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 0xc
Function at 0x471fd0
Capabilities:
Get common file path

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 0x506f2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x22c], esi
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x28c], edi
mov ecx, dword [eax]
mov eax, dword [0x557f40]
cmp eax, dword [ecx + 8]
jle 0x47225e
push 0x557f40
call fcn.004a4a41
add esp, 4
cmp dword [0x557f40], 0xffffffff
jne 0x47225e
push 0x20a
lea eax, [ebp - 0x228]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.004d78d0
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 0x22c], 0
lea edx, [ebp - 0x228]
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x260]
call fcn.00412ac0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2bc]
call fcn.00471d90
mov dword [ebp - 0x288], 0
xor ecx, ecx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x288], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x278], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2a4]
call fcn.0040f220
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00405720
push eax
lea ecx, [ebp - 0x248]
call fcn.0040f220
lea ecx, [ebp - 0x2a4]
or edi, 0x10
call fcn.004161c0
lea ecx, [ebp - 0x288]
call fcn.004161c0
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 1
call fcn.004161c0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x22c], 0x54dd00
push eax
call fcn.0046e2a0
add esp, 8
test al, al
je 0x4721b4
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x268], 0xa
mov dword [ebp - 0x264], 0
call fcn.00473e70
lea ecx, [ebp - 0x248]
call fcn.004161c0
jmp 0x4720a4
cmp dword [ebp - 0x230], 0
je 0x4721ec
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], 0xa
mov dword [ebp - 0x26c], 0
call fcn.00473e70
lea ecx, [ebp - 0x248]
call fcn.004161c0
jmp 0x4720a4
movups xmm0, xmmword [ebp - 0x248]
xor eax, eax
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
movups xmmword [0x557f44], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [0x557f54], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
call fcn.004161c0
lea ecx, [ebp - 0x260]
call fcn.004161c0
push 0x50e7d0
call fcn.004a489b
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x557f40
call fcn.004a49f7
add esp, 4
push 0x557f44
mov ecx, esi
call fcn.0040f220
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x4734a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
lea ecx, [esp + 0xc]
push edi
call fcn.004518a0
push 0x1388
mov esi, dword [eax]
call fcn.004a4626
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
mov ecx, 1
mov dword [edi + 0x1384], 0xffffffff
lea edx, [edi + 8]
mov dword [edi + 4], esi
mov eax, esi
lea edx, [edx + 4]
shr eax, 0x1e
xor eax, esi
imul esi, eax, 0x6c078965
add esi, ecx
inc ecx
mov dword [edx - 4], esi
cmp ecx, 0x270
jb 0x4734e1
lea eax, [ebx + 0xc]
mov dword [edi], 0x270
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x47352f
mov ecx, dword [eax]
mov dword [eax], edi
test ecx, ecx
je 0x47353d
push 0x1388
push ecx
call fcn.004a44fe
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1388
push edi
call fcn.004a44fe
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x4756ee
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4756b0
mov eax, dword [edi]
jmp 0x4757d9
cmp eax, 0x4e0
jb 0x4757d9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x475710
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x475760
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret