joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4495e7
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x5fc328
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x449667
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x449666
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret

Function at 0x449885
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x44a0ff
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004afdb1
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c1fd
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004afd8f
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x44a179
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x44a170
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a166
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44a177
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x44a143
jmp 0x44a179
xor edi, edi
push esi
call fcn.0043c206
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a189
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.0044a659
lea eax, [ebp - 0x20c]
push eax
call fcn.004afdb1
add esp, 0x14
test eax, eax
je 0x44a241
lea eax, [ebp - 0x20c]
push 0x5fa5d4
push eax
call fcn.004afd5e
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004afd5e
lea eax, [ebp - 0x20c]
push 0x5fa5d4
push eax
call fcn.004afd5e
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a21a
lea eax, [ebp - 0x20c]
push eax
call fcn.0044a0ff
pop ecx
cmp word [ebp - 0x20c], si
je 0x44a232
lea eax, [ebp - 0x20c]
push eax
call fcn.004afdb1
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00406980
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret

Function at 0x44a33a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x678dc4]
test al, al
jne 0x44a3d3
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ac380
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44a3ca
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0326
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004abcb4
pop ecx
pop ecx
test eax, eax
jne 0x44a3c2
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004abcb4
pop ecx
pop ecx
test eax, eax
je 0x44a3ca
mov byte [0x678dc4], bl
jmp 0x44a3d0
mov bl, byte [0x678dc4]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret
Function at 0x44a3e1
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x5e6b02
call fcn.0043c88f
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.004ac380
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004ac380
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004ac380
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004ac380
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ac380
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004ac380
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.0044a659
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004afd8f
lea eax, [ebp - 0x218]
push eax
call fcn.004afdb1
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004adc5a
add esp, 0x24
test eax, eax
jne 0x44a4e5
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0044a189
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00404910
push esi
push 1
jmp 0x44a646
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004afd8f
lea eax, [ebp - 0x830]
push 0x5fc420
push eax
call fcn.004afd5e
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.004afd8f
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004afd5e
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.004afd8f
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004afd5e
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x44a623
cmp dword [ebp - 0xc5c], 0
je 0x44a623
test ecx, ecx
je 0x44a623
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.00411570
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a5f3
lea eax, [ebp - 0x420]
push eax
call fcn.0044a0ff
pop ecx
cmp word [ebp - 0x420], 0
jne 0x44a601
xor eax, eax
jmp 0x44a60e
lea eax, [ebp - 0x420]
push eax
call fcn.004afdb1
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00406980
jmp 0x44a632
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0044a189
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00404910
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00406160
mov eax, edi
call fcn.0043c839
ret
Function at 0x44a6cc
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2a0
mov eax, 0x5e6b52
call fcn.0043c88f
lea eax, [ebp + 8]
xor edi, edi
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
call fcn.00404990
xor ebx, ebx
mov esi, 0x5fc418
inc ebx
push esi
mov byte [ebp - 4], bl
call fcn.004afdb1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00406670
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a849
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44a849
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x44a72c
cmp word [ebp - 0x27a], 0
je 0x44a72c
cmp word [ebp - 0x27a], ax
jne 0x44a76b
cmp word [ebp - 0x278], 0
je 0x44a72c
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x44a788
mov eax, edi
jmp 0x44a795
lea eax, [ebp - 0x27c]
push eax
call fcn.004afdb1
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406980
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x44a7ff
call fcn.00404990
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00406580
push 0x5fa5d4
call fcn.004afdb1
pop ecx
push eax
push 0x5fa5d4
lea ecx, [ebp - 0x28]
call fcn.00406670
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00404990
call fcn.0044a6cc
jmp 0x44a82a
call fcn.00404990
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00406580
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00404990
call fcn.0044a895
add esp, 0x18
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00406160
push edi
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00406160
jmp 0x44a72c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44a87b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00406160
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.00406160
call fcn.0043c839
ret

Function at 0x44aaa8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x44baa1
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x5fc4f0
push esi
call fcn.004abcb4
pop ecx
pop ecx
test eax, eax
je 0x44bad9
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x44bb68
push edi
xor edi, edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004ac380
add esp, 0xc
lea eax, [ebp - 0x20c]
test edi, edi
jne 0x44bb0d
push esi
push str._s.del
push eax
call fcn.00411570
add esp, 0xc
jmp 0x44bb1d
push edi
push esi
push str._s.del_d
push eax
call fcn.00411570
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44bb47
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44bb47
cmp edi, 0xa
jge 0x44bb67
inc edi
jmp 0x44badc
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004c0b99
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret

Function at 0x44fce7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x44fcef
mov dword [edx*4 + 0x678e98], ecx
inc edx
cmp edx, 0x100
jb 0x44fcea
mov esi, 0x800
jmp 0x44fd38
mov ecx, dword [edx*4 + 0x678a98]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x678e98]
mov dword [edx*4 + 0x678e98], ecx
inc edx
cmp edx, esi
jb 0x44fd1c
mov dword [0x67ae98], 0x44bd3d
call fcn.004500fa
mov ecx, dword [0x67ae98]
test eax, eax
mov edx, 0x44bdd6
cmove ecx, edx
mov dword [0x67ae98], ecx
pop esi
ret

Function at 0x4501b1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x4501c3
xor eax, eax
jmp 0x4501ea
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.004bcbe8
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x4501e1
xor eax, eax
jmp 0x4501e9
push dword [ebx]
call fcn.004bcdd3
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x45023d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x45024f
xor eax, eax
jmp 0x450276
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.004c0fa3
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x45026d
xor eax, eax
jmp 0x450275
push dword [ebx]
call fcn.004bcdd3
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x450e04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x450e25
xor eax, eax
jmp 0x450f7a
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
mov edx, dword [ebp + 8]
push ebx
or ebx, 0xffffffff
add ecx, edx
mov dword [ebp - 8], ecx
add edx, edi
mov dword [ebp - 4], edx
cmp edx, ecx
jae 0x450e51
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x450e4e
inc edx
cmp edx, ecx
jb 0x450e41
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x450f5e
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x450e89
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x450ec6
cmp al, 0xff
je 0x450ec6
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x450f57
dec ecx
shl esi, cl
and esi, 7
je 0x450e69
movzx eax, byte [esi + 0x5fc538]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x5fc530], 0
mov al, byte [ecx + 4]
je 0x450eb0
test al, al
je 0x450eb0
cmp al, 0xff
jne 0x450e69
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
jmp 0x450e38
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x450ef3
add ebx, edi
add ebx, edx
jmp 0x450ef7
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x450f2d
movzx eax, byte [esi + 0x5fc538]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x450f1c
cmp al, 0xff
jne 0x450f2d
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x450ee7
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x450ebb
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x451a66
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [eax + 0x210]
mov esi, dword [edi]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x451b33
lea edi, [esi + 0x28]
lea ecx, [ebx + 0xa8]
mov dword [ebp + 8], edi
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f6f34
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f6f34
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f6f34
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5f6f34
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.004bcca0
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x451b0f
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.004bcca0
pop ecx
pop ecx
test eax, eax
je 0x451b50
mov eax, 0x1b0
lea ecx, [ebx + 0xa8]
add edi, eax
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
jne 0x451a99
mov edi, dword [ebp - 8]
lea eax, [ebx + 0xa8]
push eax
call fcn.004b03d0
pop ecx
test eax, eax
je 0x451b50
push ebx
mov ecx, edi
call fcn.00452492
mov al, 1
jmp 0x451b52
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4523d5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 0x114
push edi
push ebx
xor edi, edi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004ac380
add esp, 0xc
mov dword [ebp - 0x118], ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x452436
mov ecx, esi
call fcn.00451e2c
jmp 0x45244b
mov ebx, edi
test edi, edi
jne 0x45244b
mov ecx, esi
call fcn.00451d07
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x452438
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret

Function at 0x453e86
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x453ea9
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x453f46
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.00453a9c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x453ecc
push ebx
call fcn.004bc99c
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x453f22
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x66a444]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x453ef7
call fcn.004bc99c
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x453f22
push esi
push 1
push eax
call fcn.004bcbe8
push ebx
mov esi, eax
call fcn.004bc99c
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x453f2b
push dword [ebp - 4]
call dword [0x66a448]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x453f45
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00453e31
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b1cd
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.0046b372
test eax, eax
jne 0x46b2df
mov ecx, dword [0x68b51c]
test ecx, ecx
je 0x46b1fb
call fcn.0045b517
mov esi, eax
jmp 0x46b1fd
xor esi, esi
push ebx
push 0x2800
call fcn.004b4d29
mov edi, eax
mov dword [esp], 0x5000
call fcn.004b4d29
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push str.Warning:_no_object__s_of_type:_d_in_SOUI__
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.0046b79b
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x46b25e
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004b4d24
pop ecx
test esi, esi
je 0x46b29a
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x46b29a
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.srccoreSObjectFactory.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x46b2d3
mov ebx, 0x2800
push ebx
call fcn.004b4d29
push 0x3d
push str.srccoreSObjectFactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.0046b77c
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004b4d24
pop ecx
push edi
call fcn.004b4d24
pop ecx
xor eax, eax
pop ebx
jmp 0x46b2fb
mov ecx, dword [edi + 8]
push esi
call fcn.0046afdf
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.0046b5a4
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x46bd5d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x5f9640
push dword [ebp + 8]
call fcn.004bc8f8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x46bdba
push ebx
push edi
push esi
call fcn.004c1bb0
push eax
call fcn.004c1ce6
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x46bd99
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x46bdaf
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004bcbe8
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004bc99c
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x46be14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.0046c927
mov ebx, eax
test ebx, ebx
je 0x46be83
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x46be67
cmp dword [ebp + 0x14], edi
jae 0x46be4c
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x46be67
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x46be67
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x46be6b
xor eax, eax
jmp 0x46be82
push edi
push eax
push dword [ebp + 0x10]
call fcn.004ab1c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x46e7a2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x46e7c8
call fcn.00464168
jmp 0x46e7f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046360d
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x46e7f4
push 1
push ecx
push ecx
push eax
push 0x6016d0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc