joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55a5e0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0xfff
push 0x6993b0
call fcn.0057d609
add esp, 0x10
test eax, eax
jl 0x55a60a
cmp eax, 0xfff
ja 0x55a60a
jne 0x55a611
mov byte [0x69a3af], 0
cmp dword [0x699360], 0
je 0x55a64d
push 0x6993b0
push str.____ERROR:__s_n
call fcn.0055a410
add esp, 8
push 0x67ac3c
lea edx, [esp + 4]
push edx
mov dword [0], 0
mov dword [esp + 8], 0x6993b0
call fcn.00582299
push esi
push edi
push 0x6993b0
push str.____ERROR:__s_n
call fcn.0055a410
mov eax, dword [0x69938c]
mov edi, eax
sub edi, dword [0x699388]
add esp, 8
sar edi, 2
xor esi, esi
test edi, edi
jbe 0x55a6b2
jmp 0x55a685
mov eax, dword [0x69938c]
sub eax, dword [0x699388]
sar eax, 2
cmp esi, eax
jb 0x55a697
call fcn.0057cfc3
mov eax, dword [0x699388]
mov ecx, dword [eax + esi*4]
push ecx
push str.Additional_ERROR_info:__s_n
call fcn.0055a410
inc esi
add esp, 8
cmp esi, edi
jb 0x55a680
push str...._exiting_n
call fcn.0055a410
mov edx, dword [0x69922c]
add esp, 4
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
pop edi
pop esi
test eax, eax
je 0x55a6dd
int3
push 0
push str.Error_
push 0x6993b0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x67ac3c
lea eax, [esp + 4]
push eax
mov dword [0], 0
mov dword [esp + 8], 0x6993b0
call fcn.00582299
int3

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

Disassembly:
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x55adbc
mov edx, dword [esp + 4]
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x691558]
dec ecx
inc edx
test ecx, ecx
jne 0x55ada0
pop esi
not eax
ret

Function at 0x55b0b0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
jne 0x55b0d0
push 0
push 0x168
push str..SourceFileSystem_r3dFSCompress.cpp
push str.out_crc32
call fcn.0055a720
add esp, 0x10
push ebp
mov ebp, dword [esp + 8]
push esi
push 0x645e3c
push ebp
call fcn.0057c974
mov esi, eax
add esp, 8
test esi, esi
jne 0x55b0ef
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push 2
push 0
push esi
call fcn.0058160b
push esi
call fcn.00581845
push 0
push 0
push esi
mov edi, eax
call fcn.0058160b
lea eax, [edi + 1]
push eax
call fcn.0057bbf7
push esi
push edi
mov ebx, eax
push 1
push ebx
call fcn.00581b87
add esp, 0x30
cmp eax, edi
je 0x55b14b
push esi
call fcn.0057c080
push ebx
call fcn.0057d626
push edi
push ebp
push str.failed_to_read__s__d_n
call fcn.0055a5e0
add esp, 0x14
pop edi
pop ebx
pop esi
xor al, al
pop ebp
ret
push edi
push ebx
call fcn.0055ad90
push ebx
mov ebp, eax
call fcn.0057d626
push esi
call fcn.0057c080
mov eax, dword [esp + 0x2c]
add esp, 0x10
test eax, eax
je 0x55b16d
mov dword [eax], edi
mov ecx, dword [esp + 0x18]
pop edi
pop ebx
pop esi
mov dword [ecx], ebp
mov al, 1
pop ebp
ret
Function at 0x55b260
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x55b275
pop edi
mov dword [esp + 0x10], eax
jmp fcn.00581b87
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x114]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ebx
imul esi, dword [esp + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jb 0x55b296
sub eax, ecx
mov esi, eax
test esi, esi
jne 0x55b2a0
pop esi
pop ebx
xor eax, eax
pop edi
ret
mov eax, dword [edi + 4]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.0057e000
add dword [edi + 8], esi
add esp, 0xc
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop edi
ret

Function at 0x55b5c0
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x10]
push eax
push edi
call fcn.0057c974
mov esi, eax
add esp, 8
test esi, esi
jne 0x55b604
call fcn.00582cb9
mov ecx, dword [eax]
push ecx
call fcn.0055b3c0
push eax
push edi
push str.__warning____cant_open__s_for_writing_nError:__s__d__n
call fcn.0055a5e0
add esp, 0x10
mov eax, esi
pop edi
pop esi
ret

Function at 0x55b610
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x55b688
mov eax, esi
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x55b630
mov ecx, dword [str.Arktos_]
mov dword [eax], ecx
mov edx, dword [0x6462a4]
mov dword [eax + 4], edx
mov cl, byte [0x6462a8]
push esi
mov byte [eax + 8], cl
call fcn.00583c4d
mov eax, esi
add esp, 4
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x55b660
mov edx, dword [str.WarZ_]
mov dword [eax], edx
mov cx, word [0x64629c]
push esi
mov word [eax + 4], cx
call fcn.00583c4d
add esp, 4
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x55d830
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, ecx
cmp eax, 0x8876017c
jne 0x55d899
mov ecx, dword [0x7172cc]
push 1
call fcn.00571590
mov eax, dword [0x71728c]
cmp dword [eax + 0x184], 0
mov esi, dword [esi + 8]
mov edi, esi
je 0x55d86f
push 6
push esi
xor edi, edi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0055c8b0
push 0x1010
push str.Error
push str.Out_of_video_memory_
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x69925c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
ret 4
cmp eax, 0x8007000e
jne 0x55d940
mov eax, dword [esi + 0xac5d4]
mov dword [esi + 0xac5d4], 0
mov dword [esi + 0xac5d8], 0
push eax
mov dword [esi + 0xac5dc], 0
call fcn.0058220b
add esp, 4
push 0
mov ecx, esi
call fcn.0055bd40
mov eax, dword [esi + 0x480]
test eax, eax
je 0x55d8f8
push 1
push eax
mov ecx, esi
call fcn.0056ca50
mov eax, dword [esi + 0x480]
test eax, eax
jne 0x55d8e4
mov edx, dword [0x71728c]
cmp dword [edx + 0x184], 0
mov esi, dword [esi + 8]
mov edi, esi
je 0x55d91c
push 6
push esi
xor edi, edi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0055c8b0
push 0x1010
push str.Error
push str.Out_of_system_memory_
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x69925c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
ret 4
Function at 0x566fd0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c9b7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
push 0x71837c
mov ebp, ecx
mov dword [esp + 0x1c], 0x71837c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x130]
cmp byte [edi], 0
mov dword [esp + 0x128], 0
je 0x567048
cmp byte [edi + 0x104], 0
je 0x567048
cmp byte [edi + 0x105], 0xff
je 0x567048
or eax, 0xffffffff
cmp dword [edi + 0x106], eax
je 0x567048
cmp dword [edi + 0x10a], eax
je 0x567048
cmp dword [edi + 0x10e], eax
jne 0x567061
push 0
push 0x1b8
push str..SourceFileSystem_r3dFileSystem.cpp
push str.fe.IsValid__
call fcn.0055a720
add esp, 0x10
mov ebx, dword [esp + 0x138]
cmp dword [edi + 0x10e], ebx
je 0x567089
push 0
push 0x1b9
push str..SourceFileSystem_r3dFileSystem.cpp
push str.fe.csize__csize
call fcn.0055a720
add esp, 0x10
movzx eax, byte [edi + 0x105]
mov esi, dword [ebp + eax*4 + 0x340]
cmp esi, 0xffffffff
jne 0x567107
inc eax
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00566ce0
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5670f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x20]
push edx
push str.cant_open__s_for_writing___d_n
call fcn.0055a5e0
add esp, 0xc
push 0x71837c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x5671ac
movzx eax, byte [edi + 0x105]
mov dword [ebp + eax*4 + 0x340], esi
mov ecx, dword [edi + 0x106]
push 0
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [edi + 0x106]
je 0x567135
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetFilePointer_failed__d
call fcn.0055a5e0
add esp, 8
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x64667261
call ebp
test eax, eax
jne 0x567174
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_failed__d
call fcn.0055a5e0
add esp, 8
mov edx, dword [esp + 0x134]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push edx
push esi
call ebp
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x56719f
push ebx
push eax
push edi
push str.failed_to_write__s__d_vs__d_n
call fcn.0055a5e0
add esp, 0x10
push 0x71837c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0xc
Function at 0x567640
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 0x10e]
add esi, 4
lea eax, [esi + 1]
push eax
mov ebp, ecx
call fcn.0057bbf7
movzx ecx, byte [edi + 0x105]
mov ebx, dword [ebp + ecx*4 + 0x340]
add esp, 4
mov dword [esp + 0x1c], eax
cmp ebx, 0xffffffff
jne 0x567692
push 0
push 0x317
push str..SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.0055a720
add esp, 0x10
mov edx, dword [edi + 0x106]
push 0
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
push esi
push ecx
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], esi
je 0x5676f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_read_failed__d_n
call fcn.0055a410
mov edx, dword [esp + 0x24]
push edx
call fcn.0057d626
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
mov al, byte [esp + 0x20]
mov ecx, dword [esp + 0x24]
movzx edx, al
mov byte [edi + 0x105], al
mov dword [edi + 0x106], ecx
mov ebx, dword [ebp + edx*4 + 0x340]
cmp ebx, 0xffffffff
jne 0x56772c
push 0
push 0x328
push str..SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.0055a720
add esp, 0x10
mov eax, dword [edi + 0x106]
push 0
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x14], esi
je 0x567786
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_write_failed__d_n
call fcn.0055a410
push edi
call fcn.0057d626
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
push edi
call fcn.0057d626
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x5678d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c9a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push 0x71837c
mov ebx, ecx
mov dword [esp + 0x2c], 0x71837c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
xor ebp, ebp
sar eax, 2
mov dword [esp + 0x4c], ebp
test eax, eax
ja 0x56792c
push ebp
push 0xf8
push str..SourceFileSystem_r3dFileSystem.cpp
push str.IsValid__
call fcn.0055a720
add esp, 0x10
cmp dword [esp + 0x54], ebp
jne 0x56794a
push ebp
push 0xf9
push str..SourceFileSystem_r3dFileSystem.cpp
push 0x648138
call fcn.0055a720
add esp, 0x10
mov esi, dword [ebx + 0x14]
sub esi, dword [ebx + 0x10]
mov dword [esp + 0x2c], 0x6c667261
sar esi, 2
imul esi, esi, 0x128
lea ecx, [esi + 1]
push ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], esi
call fcn.0057bbf7
mov edx, dword [ebx + 0x14]
sub edx, dword [ebx + 0x10]
add esp, 4
sar edx, 2
mov edi, eax
mov dword [esp + 0x24], edi
test edx, edx
jbe 0x5679d1
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
sar eax, 2
cmp ebp, eax
jb 0x5679a2
call fcn.0057cfc3
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + ebp*4]
mov edi, dword [esp + 0x14]
add dword [esp + 0x14], 0x128
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x567990
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x13]
call fcn.0055afb0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push edi
lea ecx, [esp + 0x23]
call fcn.0055adc0
test eax, eax
jne 0x567a00
push str.failed_to_compres_file_list_n
call fcn.0055a5e0
add esp, 4
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
sar eax, 2
push esi
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
call fcn.0055ad90
mov esi, dword [esp + 0x5c]
push esi
push 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0057d4d4
push esi
push 0x10
lea ecx, [esp + 0x54]
push 1
push ecx
call fcn.0057d4d4
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push esi
push 1
push edx
push eax
call fcn.0057d4d4
push edi
call fcn.0057d626
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0057d626
add esp, 0x40
push 0x71837c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x569a80
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c9b7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push 0x71837c
mov ebx, ecx
mov dword [esp + 0xc], 0x71837c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
mov dword [esp + 0x120], 0
call fcn.00566ce0
lea ecx, [esp + 0xc]
push 0x645e3c
push ecx
call fcn.0057c974
mov esi, eax
add esp, 8
test esi, esi
jne 0x569b19
lea edx, [esp + 0xc]
push edx
push str.r3dFS:_there_is_no_volume_file__s_n
call fcn.0055a410
add esp, 8
push 0x71837c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
add esp, 0x114
ret
push ebp
push edi
push 2
push 0
push esi
call fcn.0058160b
push esi
call fcn.00581845
push 0
push 0
push esi
mov edi, eax
call fcn.0058160b
lea eax, [edi + 1]
push eax
call fcn.0057bbf7
push esi
push 1
mov ebp, eax
push edi
push ebp
call fcn.00581b87
push esi
call fcn.0057c080
add esp, 0x34
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
lea ecx, [ebx + 0x104]
call fcn.00569780
push ebp
mov bl, al
call fcn.0057d626
add esp, 4
push 0x71837c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x118]
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x5767f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x576824
mov cl, byte [edx]
test cl, cl
je 0x576824
mov eax, 0x811c9dc5
movsx ecx, cl
or ecx, 0x20
xor ecx, eax
imul ecx, ecx, 0x1000193
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x576803
xor eax, 0x2a
imul eax, eax, 0x1000193
ret
xor eax, eax
ret
Function at 0x57bc02
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6926dc]
jne 0x57bc0c
repz ret
jmp fcn.0058479f

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x57be4f
call fcn.00582ccc
mov dword [eax], esi
call fcn.00582cb9
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0057cf9d
add esp, 0x14
push 0x16
pop eax
jmp 0x57bea4
test dword [ebp + 0xc], 0xfffffff9
jne 0x57be2b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x57be7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00582cdf
pop ecx
call fcn.00582cb9
mov eax, dword [eax]
jmp 0x57bea4
test al, 0x10
jne 0x57bea2
test al, 1
je 0x57bea2
test byte [ebp + 0xc], 2
je 0x57bea2
call fcn.00582ccc
mov dword [eax], 5
call fcn.00582cb9
mov dword [eax], 0xd
jmp 0x57be73
xor eax, eax
pop esi
pop ebp
ret

Function at 0x590394
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.00584917
and dword [ebp - 4], 0
cmp dword [0x73b194], 0
mov ebx, eax
jne 0x590445
push 0x65b6e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5904f6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65b6d4
push edi
call esi
test eax, eax
je 0x5904f6
push eax
call fcn.005848a5
mov dword [esp], 0x65b6c4
push edi
mov dword [0x73b194], eax
call esi
push eax
call fcn.005848a5
mov dword [esp], 0x65b6b0
push edi
mov dword [0x73b198], eax
call esi
push eax
call fcn.005848a5
mov dword [esp], 0x65b694
push edi
mov dword [0x73b19c], eax
call esi
push eax
call fcn.005848a5
pop ecx
mov dword [0x73b1a4], eax
test eax, eax
je 0x590445
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005848a5
pop ecx
mov dword [0x73b1a0], eax
mov eax, dword [0x73b1a0]
cmp eax, ebx
je 0x59049d
cmp dword [0x73b1a4], ebx
je 0x59049d
push eax
call fcn.00584920
push dword [0x73b1a4]
mov esi, eax
call fcn.00584920
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x59049d
test edi, edi
je 0x59049d
call esi
test eax, eax
je 0x590494
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x590494
test byte [ebp - 0xc], 1
jne 0x59049d
or dword [ebp + 0x10], 0x200000
jmp 0x5904d6
mov eax, dword [0x73b198]
cmp eax, ebx
je 0x5904d6
push eax
call fcn.00584920
pop ecx
test eax, eax
je 0x5904d6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5904d6
mov eax, dword [0x73b19c]
cmp eax, ebx
je 0x5904d6
push eax
call fcn.00584920
pop ecx
test eax, eax
je 0x5904d6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x73b194]
call fcn.00584920
pop ecx
test eax, eax
je 0x5904f6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5904f8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x1b8
mov dword [esp], esp
mov dword [esp + 4], 0x1b8
call fcn.0044bd30
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.0044bd30
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x487649
Capabilities:
Encode data using xor

Disassembly:
arpl word [ebp + 0x317b032], si
xor ebx, dword [esi + edx - 0x55c7dd52]
push ebp
rcr byte [ecx - 0x41], cl
daa
cmpsb byte [esi], byte es:[edi]
xor dword [ebx - 0x7dfa6bb5], esi
invalid

Function at 0x5226f8
Capabilities:
Encode data using xor

Disassembly:
invalid
cmp dword [edi + edi*4 + 0x6e], ebp
imul eax, edx, 0xd254dcc7
mov ah, byte [esi + 0x4a]
jo 0x52268e
jl 0x52274e
mov cl, 0xff
mov fs, word es:[esi - 0x2a]
xchg edi, eax
rcl ecx, 1
sbb al, 0x33
dec ebp
bound esp, qword [0x90b441d7]
ror al, 1
les eax, [0x40c0dfdd]
sub edi, eax
xor byte [ecx - 0x399e95d], cl
loopne 0x52278b
pushal
ror dword [ecx - 0x75], 1
les esi, [edi + 0x58b4259c]
or byte [ecx - 0x27467619], ch
sar byte [ebx + 0x10], 1
xchg byte [esi - 0x62], bl
jne 0x5227c0
add byte [edi + 0x79], ch
jg 0x52274b
int1
push eax
mov ebp, 0x2289918f
xchg ecx, eax
mov dword [edx], esp
fcomi st(2)
cli
cli
rol byte [esi - 0x7a592aec], 0xbe
dec ebx
mov eax, 0x62d26df3
xor dword [ebp + edi*2 + 0x29], edi
jecxz 0x522752
pop ebx
and edi, dword [ebx + 9]
inc edx
lcall 0xe49e, 0x87bcfe5d
jp 0x5227e0
xchg ebx, eax
sti
sub ah, cl
in eax, 0xff
push eax
jmp 0xdec1b385
sal dword [edx + 0x1c], cl
and al, byte [ebx]
xchg eax, edi
not dword [esi - 0xc80db0b]
lodsd eax, dword [esi]
push ds
sub ebp, edx
invalid
sub byte [esi], 0x5f
invalid
imul esi, dword [ebp - 0x50], 0x40
sahf
nop
salc
dec eax
mov ecx, 0x1c9f240e
lodsb al, byte [esi]
sub al, 0x1a
mov eax, dword [0x6ea44b91]
sbb dword [edx - 0x1d], 0xffffff94
in eax, 0x6d
invalid
Function at 0x44a380
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.GetFirmwareEnvironmentVariableA
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x44a3c9
mov ecx, dword [0x4d09f4]
push 0x4d06fc
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test ebx, ebx
je 0x44a3ef
push 0
push 0
push str.154CDFAF_2381_4cad_AB99_138517127D5C
push 0x4d13d4
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
pop ecx
ret
pop edi
mov al, bl
pop esi
pop ebx
pop ecx
ret

Function at 0x4c598e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd5a8
cmp edx, dword [eax]
je 0x4c59b0
add eax, 8
inc ecx
cmp eax, 0x4cd638
jl 0x4c59a1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd5a8]
jne 0x4c5ade
mov eax, dword [0x4d1c80]
cmp eax, 1
je 0x4c5ab8
test eax, eax
jne 0x4c59e1
cmp dword [0x4cd4ec], 1
je 0x4c5ab8
cmp edx, 0xfc
je 0x4c5ade
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c5a18
lea eax, [ebp - 0x1a4]
push 0x4c9b84
push eax
call fcn.004c60a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c62d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c5a5b
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c62d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c9b80
push edi
call fcn.004c7aa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c9b64
push eax
call fcn.004c60a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c60b0
lea eax, [ebp - 0xa0]
push 0x4c9b60
push eax
call fcn.004c60b0
push dword [esi + 0x4cd5ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c60b0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c9b38
push eax
call fcn.004c7a14
add esp, 0x2c
pop edi
jmp 0x4c5ade
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd5ac]
push 0
push eax
push dword [esi]
call fcn.004c62d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x8c2135
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x8c1ea3
dec edi
call fcn.008c2168
and edi, edi
xor dword [edx], esi
sub edi, 0x37e7a117
add eax, 0x68088342
inc edx
sub edi, 0x41a99039
sub edi, eax
cmp edx, ecx
jne fcn.008c2135
sub eax, eax
or eax, eax
ret