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

Disassembly:
mov eax, 0x2004
call fcn.004af840
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x4c9ca8
push eax
mov esi, ecx
call fcn.0048a890
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x1c24], al
test al, al
je 0x46a1a6
xor al, al
jmp 0x46a261
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004b21ea
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x46a227
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x46a1fe
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x46a1f6
cmp byte [esp + esi + 0x11], 0x73
jne 0x46a1f6
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004b0c56
add esp, 0xc
test eax, eax
je 0x46a234
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x46a1d0
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004b1363
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004b21ea
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x46a1c6
push edi
call fcn.004b227e
add esp, 4
xor al, al
jmp 0x46a25f
push 0
add esi, ebx
push esi
push edi
call fcn.004b1363
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004b1ec8
cmp eax, 0x15
push edi
sete bl
call fcn.004b227e
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004af00b
add esp, 0x2004
ret 4

Function at 0x46b6c0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004af840
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x4c7a18
push eax
call fcn.00432c30
mov esi, eax
mov dword [esp + 8], esi
cmp esi, ebx
jne 0x46b700
xor al, al
jmp 0x46b790
push ebp
push edi
mov dword [esp + 0x14], ebx
push esi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004b21ea
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jle 0x46b783
lea ebp, [edi - 0x20]
xor esi, esi
test ebp, ebp
jle 0x46b75b
jmp 0x46b730
cmp byte [esp + esi + 0x18], 0x72
jne 0x46b756
cmp byte [esp + esi + 0x19], 0x65
jne 0x46b756
push 0x14
lea ecx, [esp + esi + 0x1e]
push str.quireAdministrator_
push ecx
call fcn.004b0c56
add esp, 0xc
test eax, eax
je 0x46b7a9
inc esi
cmp esi, ebp
jl 0x46b730
mov edx, dword [esp + 0x10]
push 0
lea ebx, [ebx + edi - 0x20]
push ebx
push edx
call fcn.004b1363
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x46b706
push esi
call fcn.004b227e
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x2010]
pop esi
pop ebx
xor ecx, esp
call fcn.004af00b
add esp, 0x200c
ret 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004b227e
add esp, 4
mov al, 1
jmp 0x46b78e
Function at 0x46e3a0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret 4
Function at 0x46ea80
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret 4

Function at 0x470160
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4701c7
push esi
push edi
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004afe20
mov esi, eax
add esp, 4
test esi, esi
je 0x4701c5
push edi
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
push esi
call fcn.0046ffd0
push esi
call fcn.004afc55
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x470420
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x470473
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x80000000
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x4721a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, ecx
cmp ebp, 0xa8
jne 0x4721f9
push 1
push str.Settings
call fcn.0041fc30
test eax, eax
je 0x4721ee
mov eax, dword [0x527edc]
mov ecx, dword [0x513900]
lea esi, [edi + 0x8cc]
push esi
push 0x471dd0
push eax
push str.ORGTHEMES
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi], 0
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
cmp ebp, 0xa9
jne 0x47222a
push 1
push 0x4c5d70
push 0
push 0x4f8
call fcn.00466160
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
mov eax, dword [0x527edc]
test eax, eax
jne 0x472237
xor esi, esi
jmp 0x472260
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x472246
xor esi, esi
jmp 0x472260
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
test eax, eax
jne 0x472259
xor esi, esi
jmp 0x472260
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xaa
jne 0x472279
mov dword [edi + 0xc4], 0xffffffff
push 0x4c5d70
jmp 0x4722e1
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x472327
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004af870
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push ebp
push esi
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x472327
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0xbc]
jae 0x472327
mov dword [edi + 0xc4], eax
imul eax, eax, 0xb04
add eax, dword [edi + 0xb8]
push eax
call fcn.00455e10
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.0045fd70
mov eax, dword [edi + 0x8c8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x472308
push 0
push eax
push esi
call ebx
push 8
push ebp
push esi
call ebx
mov ecx, edi
mov dword [edi + 0x8c8], ebp
call fcn.00471840
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x30
ret 4
Function at 0x4733f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
xor esi, esi
jmp 0x473415
xor edi, edi
push 0xf
call ebp
mov edx, dword [0x513900]
push 1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x4d7824]
push edi
push eax
push edx
mov dword [esp + 0x34], edi
call ebx
push 0xf
mov dword [esi + 0x4d7848], eax
call ebp
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0x4d7828]
push 2
mov dword [esp + 0x20], eax
mov eax, dword [0x513900]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x513900]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47347b
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x473483
mov dword [esp + 0x18], 0x800080
mov eax, dword [0x513900]
push 1
lea edx, [esp + 0x1c]
push edx
push 0
push edi
push eax
call ebx
mov dword [esi + 0x4d784c], eax
add esi, 0x38
cmp esi, 0x460
jb 0x473413
push 0xf
mov dword [esp + 0x2c], 0xc0c0c0
call ebp
mov edx, dword [0x513900]
push 1
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x67
push edx
mov dword [esp + 0x40], eax
call ebx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
cmp byte [0x513938], 0
je 0x4734e4
push eax
call fcn.00489dc0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474970
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x47498b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.0045fe70
test eax, eax
je 0x474b43
mov eax, dword [0x5138fc]
mov ecx, dword [0x527edc]
push ebx
push ebp
push edi
push 0
push eax
push 0xd
push ecx
push 0
push 0
push 0
push 0
push 0x56000944
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push eax
mov dword [esi + 4], eax
call ebp
call fcn.0048a820
mov ebx, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x14], ebx
test al, al
je 0x474a12
push ebx
call fcn.0048a780
push 0x10
mov ebx, eax
call fcn.0048a780
mov dword [esp + 0x14], eax
movzx edi, word [esp + 0x14]
mov eax, dword [esi + 4]
movzx edx, bx
shl edi, 0x10
or edi, edx
push edi
push 0
push 0x41f
push eax
call ebp
mov ecx, dword [esi + 4]
push edi
push 0
push 0x420
push ecx
call ebp
push 0
push 0xf
push str.FolderUp.bmp
mov ecx, 0x52f5f8
call fcn.00471cc0
mov edi, eax
test edi, edi
jne 0x474a57
mov edi, dword [esi + 0x18]
cmp byte [esp + 0x13], 0
je 0x474a77
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.00489eb0
mov edi, eax
push edi
mov ecx, 0x52f5f8
call fcn.00471a80
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push 1
push 0x413
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
call ebp
mov edx, dword [esi + 4]
push 0x4d7c80
push 1
push 0x444
push edx
call ebp
lea eax, [esp + 0x30]
push eax
push 2
mov ecx, esi
call fcn.00473c40
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], 0x173
test eax, eax
jne 0x474ad2
mov eax, 1
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
or eax, 4
push 0x12
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], 2
mov dword [esp + 0x58], 0
call edi
push 0xf
mov dword [esp + 0x40], eax
call edi
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x40], eax
jne 0x474b15
mov dword [esp + 0x5c], 0x28
mov eax, dword [0x52d6b0]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push 0x40a
push eax
mov dword [esp + 0x68], ecx
call ebp
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x70
ret

Function at 0x4772f0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x526b24]
mov eax, dword [esp + 4]
mov edx, ecx
shr ecx, 8
xor edx, eax
and edx, 0xff
xor ecx, dword [edx*4 + 0x4dfdb0]
mov edx, dword [0x526b2c]
mov dword [0x526b24], ecx
movzx ecx, cl
add ecx, dword [0x526b28]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [0x526b28], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x4dfdb0]
mov dword [0x526b2c], edx
ret 4
Function at 0x477350
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, 0x12345678
mov edx, 0x23456789
mov esi, 0x34567890
mov dword [0x526b24], eax
mov dword [0x526b28], edx
mov dword [0x526b2c], esi
mov cl, byte [edi]
test cl, cl
je 0x4773d0
lea esp, [esp]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4dfdb0]
inc edi
movzx ecx, al
add ecx, edx
imul ecx, ecx, 0x8088405
inc ecx
mov edx, ecx
shr ecx, 0x18
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x4dfdb0]
mov dword [0x526b24], eax
mov dword [0x526b28], edx
mov dword [0x526b2c], esi
mov cl, byte [edi]
test cl, cl
jne 0x477380
pop edi
pop esi
ret 4
Function at 0x47a7a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + 0x654]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.0047a590
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x47a7e0
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x47a7e0
add dword [esi + 0x4a84], ecx
mov eax, dword [esi + 0x4a78]
xor edx, edx
div dword [esi + 0x4a84]
xor edx, edx
mov edi, eax
mov eax, dword [esi + 0x4a74]
sub eax, dword [esi + 0x4a70]
mov dword [esi + 0x4a78], edi
div edi
mov ebx, dword [esi + 0x4a84]
cmp eax, ebx
jl 0x47a846
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x47a8c3
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x47a870
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x47a860
mov edi, dword [esp + 0x10]
mov dword [esi + 0x4a80], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + 0x4a7c], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x47a8a9
add byte [edi + 3], 0xff
jne 0x47a8a9
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.0047a550
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + 0x4a7c], ecx
mov dword [esi + 0x4a80], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + 0x654]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x47a8e3
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + 0x654], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
Function at 0x4819f0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x481a62
push ebx
push 0x531efa
push str.Rar_CM
call fcn.0048a8c0
mov ebx, eax
test ebx, ebx
je 0x481a61
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481a14
sub eax, edx
sar eax, 1
push esi
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
jmp 0x481a30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481a30
sub eax, edx
push ebx
sar eax, 1
push eax
push 2
push edi
call fcn.004b1ec8
push ebx
call fcn.004b227e
add esp, 0x14
test esi, esi
pop esi
jbe 0x481a61
mov dword [0x5326fc], 3
pop ebx
pop edi
ret 4

Function at 0x481a70
Capabilities:
Get memory capacity

Disassembly:
mov eax, dword [0x5629cc]
sub esp, 0x20
test eax, eax
jne 0x481ab8
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 8]
mov eax, 0x400000
mov dword [0x5629cc], eax
cmp ecx, 0x8000000
ja 0x481aa6
mov eax, 0x200000
mov dword [0x5629cc], eax
cmp ecx, 0x4000000
ja 0x481ab8
mov eax, 0x100000
mov dword [0x5629cc], eax
add esp, 0x20
ret
Function at 0x481b10
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov eax, 0x2c08
call fcn.004af840
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x2c04], eax
push edi
push ebx
call fcn.00455e10
push 0x3a
push eax
call fcn.004affd2
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 8
test eax, eax
je 0x481b73
cmp byte [0x5629d0], 0
jne 0x481b73
push 0x31
push 0x65
call fcn.00466160
push eax
push 0x528
call fcn.00466160
push eax
push esi
call edi
cmp eax, 1
jne 0x481cdf
mov byte [0x5629d0], al
lea edx, [esp + 0x808]
mov eax, ebx
sub edx, ebx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x481b80
lea eax, [esp + 0x808]
push eax
call fcn.00456390
push 0x400
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
xor eax, eax
push ecx
mov word [esp + 0x80a], ax
call fcn.00455e10
cmp word [eax], 0
je 0x481c42
lea edx, [esp + 8]
push edx
call fcn.00432480
test al, al
jne 0x481c42
lea esp, [esp]
push 0x14d
call fcn.00466160
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1010]
push str.__s__n_s
push ecx
mov edx, 0x600
call fcn.004a5f50
add esp, 0x10
push 0x34
push 0x65
call fcn.00466160
push eax
lea edx, [esp + 0x1010]
push edx
push esi
call edi
cmp eax, 6
jne 0x481cdf
push 0
lea eax, [esp + 0xc]
push eax
call fcn.00432e40
lea ecx, [esp + 8]
push ecx
call fcn.00432480
test al, al
je 0x481be0
call fcn.00443050
cmp eax, 0x501
jb 0x481cf7
lea edx, [esp + 0x2408]
push edx
push ebx
call fcn.00455ad0
lea eax, [esp + 0x1c08]
push eax
lea ecx, [esp + 0x240c]
push ecx
call fcn.00457200
push 0
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x481cf7
test dword [esp + 4], 0x80000
je 0x481cf7
lea ecx, [esp + 0x1c08]
push ecx
push 0x3b6
call fcn.00466160
push eax
lea edx, [esp + 0x1010]
push edx
mov edx, 0x600
call fcn.004a5f50
add esp, 0xc
push 0x30
push 0x65
call fcn.00466160
push eax
lea eax, [esp + 0x1010]
push eax
push esi
call edi
xor al, al
pop edi
mov ecx, dword [esp + 0x2c04]
xor ecx, esp
call fcn.004af00b
add esp, 0x2c08
ret
mov ecx, dword [esp + 0x2c08]
pop edi
xor ecx, esp
mov al, 1
call fcn.004af00b
add esp, 0x2c08
ret
Function at 0x489dc0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
call edi
push ebx
mov esi, eax
call edi
mov ebp, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 0x18
push ebp
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x40], eax
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x24]
push 0xcc0020
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, eax
neg edx
push edx
push 0
lea edx, [eax - 1]
push edx
push esi
push ecx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edx, dword [esp + 0x18]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4

Function at 0x489f90
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x800], eax
cmp byte [0x536ad0], 0
push esi
mov esi, dword [esp + 0x80c]
je 0x489fcd
mov eax, dword [esp + 0x810]
push eax
push esi
push 0x536ad0
call fcn.00477c00
jmp 0x48a055
push edi
mov edi, dword [esp + 0x814]
push edi
push 0x4c5d70
push esi
push str.TempFolder
push str.Paths
call fcn.0045fe40
xor ecx, ecx
mov word [esp + 8], cx
cmp word [esi], cx
je 0x48a02a
push 0x400
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x48a018
push edi
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0046f500
cmp word [esi], 0
je 0x48a02a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48a054
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x48a03c
cmp word [esi], 0
jne 0x48a054
mov eax, str._rartemp
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48a045
pop edi
push esi
call fcn.00455790
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.004af00b
add esp, 0x804
ret 8
Function at 0x48a9b0
Capabilities:
Create directory

Disassembly:
mov eax, 0x1004
call fcn.004af840
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebp
mov ebp, dword [esp + 0x1010]
push esi
push 0x3ff
push eax
lea eax, [esp + 0x810]
push eax
call fcn.0046f500
cmp byte [esp + 0x1018], 0
je 0x48aa54
cmp dword [0x52e40c], 0
jne 0x48aa0b
cmp byte [0x52e416], 0
jne 0x48aa0b
xor edx, edx
jmp 0x48aa10
mov edx, 1
lea eax, [esp + 0x808]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48aa20
sub eax, esi
xor ecx, ecx
sar eax, 1
test dl, dl
setne cl
lea edx, [esp + eax*2 + 0x808]
add ecx, 0x61
push ecx
push 0x4cb668
push edx
mov edx, 2
call fcn.004a5f50
add esp, 0xc
push 0x400
lea eax, [esp + 0xc]
push eax
call fcn.00489f90
lea ecx, [esp + 8]
push ecx
call fcn.00455790
lea eax, [esp + 0x808]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48aa76
push edi
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x48aa90
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x48aa90
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x400
lea edx, [esp + 0x10]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004332e0
pop edi
test eax, eax
je 0x48aaf3
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x48aaf3
lea eax, [esp + 8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
jmp 0x48aae0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48aae0
mov al, 1
jmp 0x48ab17
lea edx, [esp + 8]
push edx
push 0x1f7
call fcn.00466160
push eax
call fcn.00498840
add esp, 8
mov ecx, 0x513904
call fcn.00429940
xor al, al
mov ecx, dword [esp + 0x1008]
pop esi
pop ebp
xor ecx, esp
call fcn.004af00b
add esp, 0x1004
ret 0xc