joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bf81
Capabilities:
Read file on windows

Disassembly:
push dword [eax]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.004e3c99
add esp, 0x10
ret 8

Function at 0x4226de
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x53b328
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 4], eax
je 0x42274c
push str.SHGetSpecialFolderPathA
push eax
call dword [0x5764a0]
mov edi, eax
test edi, edi
je 0x422741
push 1
push 0x1a
lea esi, [ebx + 0x6c]
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call edi
test eax, eax
je 0x422741
push dword [ebp + 8]
push str.Ancient_Quest_of_Saqqarah
push esi
push str._s_s__s
push esi
call fcn.004e116e
add esp, 0x14
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x42277b
lea esi, [ebx + 0x6c]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
push str.Ancient_Quest_of_Saqqarah
push esi
push str._s_s__s
push esi
call fcn.004e116e
add esp, 0x14
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.0042061f
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4242b9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, ecx
lea eax, [ebx + 0x78]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x7c]
lea edi, [esp + 0x14]
lea esi, [esp + 0xc]
mov dword [esp + 0x18], eax
call fcn.0041d163
test al, al
je 0x42433f
lea edi, [esp + 0x1c]
call fcn.0041d180
mov esi, edi
call fcn.00419ec0
fld dword [ebx + 0x40]
fadd dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
sub esp, 0xc
fstp dword [esp + 0x30]
mov edi, esp
fld dword [ebx + 0x44]
lea esi, [esp + 0x30]
fadd dword [ebp + 0x10]
push ecx
fstp dword [esp + 0x38]
fld dword [ebx + 0x48]
fadd dword [ebp + 0x14]
fstp dword [esp + 0x3c]
movsd dword es:[edi], dword [esi]
fld dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [esp]
call dword [eax + 0x64]
test eax, eax
jne 0x4242db
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434ba5
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
sub eax, 0
push esi
mov esi, ecx
je 0x434c20
dec eax
je 0x434bd4
xor eax, eax
jmp 0x434c45
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x114]
push str.desk.cpl_InstallScreenSaver__sSaqScreenSaver.scr
push eax
call fcn.004e116e
add esp, 0xc
push 1
push 0
lea eax, [esp + 0x118]
push eax
push str.rundll32.exe
push 0x537b7c
push dword [0x577ac8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xcc
call fcn.004e0321
test eax, eax
pop ecx
je 0x434c37
push eax
call fcn.00434049
jmp 0x434c39
xor eax, eax
mov ecx, eax
mov eax, esi
call fcn.0042e444
xor eax, eax
inc eax
mov ecx, dword [esp + 0x21c]
pop esi
xor ecx, esp
call fcn.004e0010
mov esp, ebp
pop ebp
ret 4
Function at 0x442bb8
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
call fcn.004296e6
add eax, 0x6c
push eax
push str._s_spacks_
mov esi, 0x5777f8
push esi
call fcn.004e116e
add esp, 0xc
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00421333
push eax
call fcn.00422661
mov bl, al
neg bl
pop ecx
sbb bl, bl
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x3c]
inc bl
call fcn.00401293
test bl, bl
je 0x442c23
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00421333
push eax
call fcn.0042254e
pop ecx
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401293
push str.SoftwareCodeminionSaqqarahSaveDir
mov ebx, SysReAllocString
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push 0x537c7e
push edi
push str.SoftwareCodeminionSaqqarahSaveDir
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x442c89
push esi
call fcn.004e01c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop ecx
inc eax
push eax
push esi
push 1
push edi
push 0x53ef20
push dword [ebp - 4]
call ebx
push edi
push edi
push edi
push edi
push esi
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x57a1c4]
cmp dword [0x57a1c0], ecx
mov dword [ebp - 8], ecx
jbe 0x442ca5
call fcn.004e0f8f
mov ecx, dword [0x57a1c4]
mov eax, dword [0x57a1c0]
cmp eax, ecx
mov ebx, 0x57a1bc
mov dword [ebp - 0xc], eax
jbe 0x442cbb
call fcn.004e0f8f
push dword [ebp - 8]
mov eax, 0x57a1bc
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00443c8e
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00421333
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421847
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401293
jmp 0x442d81
push esi
call fcn.004225ee
test al, al
pop ecx
je 0x442d79
lea eax, [ebp - 0x3c]
push eax
call fcn.00421725
mov esi, dword [0x57a1c0]
cmp esi, edi
jne 0x442d1a
mov dword [ebp - 8], edi
jmp 0x442d2a
mov eax, dword [0x57a1c8]
sub eax, esi
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 8], eax
call fcn.004357a1
cmp eax, dword [ebp - 8]
jae 0x442d4c
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [0x57a1c4]
call fcn.00443d0f
mov dword [0x57a1c4], eax
jmp 0x442d6e
mov eax, dword [0x57a1c4]
cmp esi, eax
mov dword [ebp - 0xc], eax
jbe 0x442d5d
call fcn.004e0f8f
push dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00443bf6
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401293
lea ecx, [ebp - 0x18]
call fcn.00421c33
mov esi, dword [ebp - 0x18]
cmp esi, edi
jne 0x442cf7
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x442d98
call fcn.004225c2
call fcn.00442837
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49ec80
Capabilities:
Read file on windows

Disassembly:
push ebx
xor ebx, ebx
push 1
push 0x100000
mov byte [esi], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x104], 0x13
call fcn.004e5f79
add esp, 8
cmp eax, ebx
mov dword [esi + 0x100], eax
je 0x49ed3f
push edi
push 0x539f08
push str.css.css
call fcn.004e322f
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x49eced
mov eax, dword [esi + 0x100]
push eax
call fcn.004e10b6
add esp, 4
pop edi
mov dword [esi + 0x100], ebx
xor al, al
pop ebx
ret 4
push 2
push ebx
push edi
call fcn.004e34cf
push edi
call fcn.004e33da
push ebx
push ebx
push edi
mov dword [esi + 0x108], eax
call fcn.004e34cf
mov ecx, dword [esi + 0x108]
mov edx, dword [esi + 0x100]
push edi
push ecx
push 1
push edx
call fcn.004e3c99
push edi
call fcn.004e35c6
mov eax, dword [esp + 0x3c]
add esp, 0x30
push eax
mov ecx, esi
call fcn.0049ed50
test al, al
pop edi
setne al
pop ebx
ret 4
mov dword [esi + 0x100], ebx
xor al, al
pop ebx
ret 4

Function at 0x49ed50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, ebp
push esi
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x49ed60
sub eax, esi
mov ebx, eax
cmp ebx, 1
jl 0x49ee76
mov esi, dword [ecx + 0x100]
mov al, byte [ebp]
xor byte [esi], al
mov esi, 1
cmp dword [ecx + 0x108], esi
push edi
jle 0x49edae
nop
mov edx, dword [ecx + 0x100]
lea edi, [edx + esi]
mov eax, esi
cdq
idiv ebx
add esi, 1
mov al, byte [edx + ebp]
xor byte [edi], al
cmp esi, dword [ecx + 0x108]
jl 0x49ed90
mov eax, 8
cmp dword [ecx + 0x108], eax
jle 0x49ede6
jmp 0x49edc0
mov esi, dword [ecx + 0x100]
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x49edd5
dec edx
or edx, 0xfffffff8
inc edx
mov dl, byte [edx + esi]
xor byte [esi + eax], dl
add eax, 1
cmp eax, dword [ecx + 0x108]
jl 0x49edc0
mov eax, dword [ecx + 0x100]
mov ebp, dword [eax + 8]
mov eax, 0x10
cmp dword [ecx + 0x108], eax
jle 0x49ee1a
lea esp, [esp]
mov edx, dword [ecx + 0x100]
lea esi, [edx + eax]
mov dl, byte [esi]
not dl
add eax, 1
mov byte [esi], dl
cmp eax, dword [ecx + 0x108]
jl 0x49ee00
mov edx, dword [ecx + 0x108]
mov edi, dword [ecx + 0x100]
mov eax, 0x10
xor esi, esi
cmp edx, eax
jle 0x49ee3e
movzx ebx, byte [edi + eax]
add eax, 1
add esi, ebx
cmp eax, edx
jl 0x49ee31
cmp ebp, esi
pop edi
je 0x49ee7e
mov eax, 1
cmp edx, eax
jle 0x49ee76
lea esp, [esp]
mov esi, dword [ecx + 0x100]
mov edx, eax
and edx, 0x8000000f
jns 0x49ee65
dec edx
or edx, 0xfffffff0
inc edx
mov dl, byte [edx + esi]
xor byte [esi + eax], dl
add eax, 1
cmp eax, dword [ecx + 0x108]
jl 0x49ee50
pop esi
pop ebp
xor al, al
pop ebx
ret 4
pop esi
pop ebp
mov al, 1
pop ebx
ret 4
Function at 0x4a0d50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x525bb6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x68]
mov dword [esi + 0x64], eax
mov byte [esi + 0x63], cl
lea edi, [esi + 0x64]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], edi
or edi, 0xffffffff
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.00517c50
mov dword [esp + 0x18], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x24
Function at 0x4a1940
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x577ba0]
sub esp, 0x24
test eax, eax
push esi
push edi
je 0x4a1952
mov byte [eax + 0x12], 0
mov ecx, dword [0x577b58]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x577b58]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push 0x40
sub ecx, eax
add ecx, 0x1c2
push ecx
mov ecx, dword [esp + 0x10]
sub edx, ecx
push edx
push eax
mov eax, dword [0x577b58]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x577b5c]
test eax, eax
je 0x4a19bf
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a1a36
mov eax, dword [0x577b50]
test eax, eax
je 0x4a1a36
call fcn.004a00d0
test al, al
je 0x4a1a36
mov ecx, dword [0x577b50]
cmp byte [ecx + 0x80], 0
jne 0x4a1a36
push 0
push 0
call dword [0x57649c]
mov edx, dword [0x577b58]
push eax
push 0
push edx
push 0x15
push 0xc8
push 0x163
push 0x1d7
push 0x50800081
push 0x5430d0
push str.EDIT
push 0
call dword [0x5764ec]
push 5
push eax
mov dword [0x577b5c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x577b5c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [0x577b9c]
test esi, esi
je 0x4a1a5a
mov edi, esi
call fcn.004ad070
push edi
call fcn.004e001f
add esp, 4
mov dword [0x577b9c], 0
mov ecx, dword [0x577b58]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x577b58]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
add esp, 0x24
ret
Function at 0x4a8290
Capabilities:
Create http request

Disassembly:
sub esp, 0x814
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0x810], eax
mov eax, dword [esp + 0x818]
test eax, eax
push ebx
mov ebx, dword [esp + 0x824]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
je 0x4a8470
cmp dword [esp + 0x820], 0
je 0x4a8470
test ebx, ebx
je 0x4a8470
test ecx, ecx
je 0x4a8470
test edx, edx
je 0x4a8470
mov ecx, dword [esp + 0x828]
push ecx
push eax
call fcn.004a8050
add esp, 8
test al, al
je 0x4a8470
push 0
push 0
push 0
push 1
push 0x543040
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4a8470
push ebp
push esi
mov esi, dword [0x5764c4]
push edi
push 0
push 0
push 0xffffffffffffffff
push ebx
push 1
push 0
call esi
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ae61a
add esp, 4
push ebp
mov edi, eax
push edi
push 0xffffffffffffffff
push ebx
push 1
push 0
call esi
mov ebx, dword [esp + 0x10]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 1
push 0
call esi
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ae61a
add esp, 4
push ebp
push eax
push 0xffffffffffffffff
push ebx
push 1
push 0
mov dword [esp + 0x28], eax
call esi
mov eax, dword [esp + 0x14]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ae61a
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x14]
push ebp
push ebx
push 0xffffffffffffffff
push eax
push 1
push 0
call esi
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x834]
mov ecx, dword [esp + 0x82c]
push ebp
push ebx
push edi
push esi
push ecx
lea edx, [esp + 0x34]
call fcn.004a0e70
mov eax, dword [esp + 0x2c]
add esp, 0x14
push 0
push 0x20000000
push 0
push 0
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
je 0x4a843b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.004a8180
add esp, 8
test edi, edi
je 0x4a8448
push edi
call fcn.004e0f9f
add esp, 4
test ebx, ebx
je 0x4a8455
push ebx
call fcn.004e0f9f
add esp, 4
test ebp, ebp
je 0x4a8462
push ebp
call fcn.004e0f9f
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x814]
pop ebx
xor ecx, esp
call fcn.004e0010
add esp, 0x814
ret

Function at 0x4a8860
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x18
mov eax, 1
mov word [esp + 0xc], ax
mov word [esp + 0xe], ax
lea eax, [esp]
push eax
lea ecx, [esp + 0xc]
push ecx
mov word [esp + 0x10], 0x7d2
mov word [esp + 0x12], 7
mov word [esp + 0x18], 0xe
mov word [esp + 0x1a], 0xd
mov word [esp + 0x1c], 0x1e
mov word [esp + 0x1e], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [esp]
push edx
mov eax, edx
push eax
mov ecx, edx
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
add esp, 0x18
ret
Function at 0x4aa7b0
Capabilities:
Resume thread

Disassembly:
sub esp, 0x67c
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0x674], eax
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x6c]
push eax
xor edi, edi
push edi
call dword [0x576498]
test eax, eax
je 0x4aa911
push 0x104
lea ecx, [esp + 0x6c]
push ecx
mov edx, ecx
push edx
call dword [0x5764a4]
test eax, eax
je 0x4aa911
push 0x104
lea eax, [esp + 0x47c]
push eax
push str.COMSPEC
call dword [0x576484]
test eax, eax
je 0x4aa911
push str.__c
lea ecx, [esp + 0x274]
push ecx
call dword [0x5764d8]
mov esi, dword [0x5764d4]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x274]
push eax
call esi
lea ecx, [esp + 0x270]
push ecx
lea edx, [esp + 0x47c]
push edx
call esi
push 0x40
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004e03d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
add esp, 0xc
push 0x100
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
mov word [esp + 0x54], di
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xf
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0xc
push 0
push 0
push 0
lea eax, [esp + 0x498]
push eax
push 0
call dword [0x57645c]
test eax, eax
je 0x4aa903
mov ecx, dword [esp + 0x10]
push 0x40
push ecx
call esi
mov edx, dword [esp + 0x14]
push 0xfffffffffffffff1
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
jmp 0x4aa913
push 0x20
call ebx
push eax
call esi
push 0
call ebp
push eax
call edi
xor al, al
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e0010
add esp, 0x67c
ret
Function at 0x4aa9b0
Capabilities:
Capture screenshot

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
test eax, eax
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, ecx
jle 0x4aaa6f
cmp byte [esp + 0x18], 0
push ebx
push esi
jne 0x4aaa23
test eax, eax
jle 0x4aaa6d
lea ebx, [esp + 0x24]
mov dword [esp + 0x10], eax
mov edi, edi
mov esi, dword [ebx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [0x577b64]
push 0xcc0020
push eax
mov eax, dword [esi + 0x14]
add ebx, 4
push ecx
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push ecx
add edx, ebp
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
add edi, dword [esi + 0x10]
sub dword [esp + 0x10], 1
jne 0x4aa9e0
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
test eax, eax
jle 0x4aaa6d
lea ebx, [esp + 0x24]
mov dword [esp + 0x10], eax
nop
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [0x577b64]
push 0xcc0020
push ecx
mov ecx, dword [esi + 0x14]
add ebx, 4
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
add eax, ebp
push eax
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
add edi, dword [esi + 0x10]
sub dword [esp + 0x10], 1
jne 0x4aaa30
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0x4ad660
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x4ad66b
xor al, al
cmp byte [esi + 0x11], al
je 0x4ad702
test al, al
push edi
mov byte [esi + 0x11], al
je 0x4ad6c0
mov eax, dword [esi + 8]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4ad6a5
push 0
push eax
call edi
mov edx, dword [esi + 4]
push 5
push edx
call edi
mov esi, dword [esi + 0x14]
mov eax, dword [esi]
mov ecx, dword [eax + 0xa4]
push 0xffffffffffffffff
push esi
call ecx
pop edi
pop esi
ret
mov eax, dword [esi]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4ad6d1
push 5
push eax
call edi
mov edx, dword [esi + 4]
push 0
push edx
call edi
mov eax, dword [esi + 8]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [esi + 0x14]
mov edx, dword [esi]
mov eax, dword [edx + 0xa4]
push 0
push esi
call eax
pop edi
pop esi
ret
Function at 0x4adea1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x557b14]
mov dword [ebp - 4], eax
mov eax, dword [0x57cb60]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4aded0
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x4ae05d
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x4ae05d
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4adf08
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x4adf20
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x4adf41
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x4adf5e
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.004ade04
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4adf81
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4adf95
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004ade04
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4adfca
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4adfdc
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.004add35
test eax, eax
pop esi
jne 0x4ae01d
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.004add35
test eax, eax
jne 0x4ae04b
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.004add35
test eax, eax
jne 0x4ae05d
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.004add35
test eax, eax
je 0x4ae05d
push dword [ebp - 0x528]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.004e0010
leave
ret