joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481340
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
cmp eax, 0x20
jbe 0x481357
mov dword [esi], 0x20
jmp 0x481361
test eax, eax
jne 0x481361
mov dword [esi], 1
push 0
push 0x20
push 0
push 0
mov byte [esi + 0x190], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 1
push 1
push 0
mov dword [esi + 0x194], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x198], eax
lea eax, [esi + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [esi + 0x194], 0
je 0x4813af
cmp dword [esi + 0x198], 0
jne 0x4813cd
push str._nThread_pool_initialization_failed.
push 0x51e7a8
call fcn.00433700
add esp, 8
push 2
mov ecx, 0x51e7a8
call fcn.004333b0
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x48143e
push ebp
push edi
lea ebp, [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
push 0x4812f0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x481420
push str.CreateThread_failed
push 0x51e7a8
call fcn.00433700
add esp, 8
mov ecx, 0x51e7a8
call fcn.004333c0
push 2
mov ecx, 0x51e7a8
call fcn.004333b0
mov dword [ebp], edi
mov eax, dword [0x56a0f8]
test eax, eax
je 0x481434
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add ebp, 4
cmp ebx, dword [esi]
jb 0x4813d8
pop edi
pop ebp
xor eax, eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x84], eax
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x482460
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 0x482485
xor edi, edi
push 0xf
call ebp
mov edx, dword [0x51e7a4]
push 1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x4e9be4]
push edi
push eax
push edx
mov dword [esp + 0x34], edi
call ebx
push 0xf
mov dword [esi + 0x4e9c08], eax
call ebp
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0x4e9be8]
push 2
mov dword [esp + 0x20], eax
mov eax, dword [0x51e7a4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x51e7a4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4824eb
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x4824f3
mov dword [esp + 0x18], 0x800080
mov eax, dword [0x51e7a4]
push 1
lea edx, [esp + 0x1c]
push edx
push 0
push edi
push eax
call ebx
mov dword [esi + 0x4e9c0c], eax
add esi, 0x38
cmp esi, 0x460
jb 0x482483
push 0xf
mov dword [esp + 0x2c], 0xc0c0c0
call ebp
mov edx, dword [0x51e7a4]
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 [0x51e7e4], 0
je 0x482554
push eax
call fcn.0049d1c0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4839e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4839fb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.0046bce0
test eax, eax
je 0x483bb3
mov eax, dword [0x51e7a0]
mov ecx, dword [0x534544]
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.0049db50
mov ebx, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x14], ebx
test al, al
je 0x483a82
push ebx
call fcn.0049dab0
push 0x10
mov ebx, eax
call fcn.0049dab0
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, 0x543850
call fcn.00480940
mov edi, eax
test edi, edi
jne 0x483ac7
mov edi, dword [esi + 0x18]
cmp byte [esp + 0x13], 0
je 0x483ae7
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.0049d2b0
mov edi, eax
push edi
mov ecx, 0x543850
call fcn.00480710
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 0x4ea040
push 1
push 0x444
push edx
call ebp
lea eax, [esp + 0x30]
push eax
push 2
mov ecx, esi
call fcn.00482cb0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], 0x173
test eax, eax
jne 0x483b42
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 0x483b85
mov dword [esp + 0x5c], 0x28
mov eax, dword [0x53ed78]
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 0x485090
Capabilities:
Generate random numbers using the delphi lcg

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

Disassembly:
push esi
push edi
push 0x56b110
call fcn.00427870
mov edi, dword [esp + 0xc]
mov eax, 0x12345678
mov edx, 0x23456789
mov esi, 0x34567890
mov dword [0x53218c], eax
mov dword [0x532190], edx
mov dword [0x532194], esi
mov cl, byte [edi]
test cl, cl
je 0x485180
jmp 0x485130
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x56b110]
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 + 0x56b110]
mov dword [0x53218c], eax
mov dword [0x532190], edx
mov dword [0x532194], esi
mov cl, byte [edi]
test cl, cl
jne 0x485130
pop edi
pop esi
ret 4
Function at 0x488590
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.00488380
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 0x4885d0
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x4885d0
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 0x488636
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 0x4886b3
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x488660
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x488650
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 0x488699
add byte [edi + 3], 0xff
jne 0x488699
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.00488340
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 0x4886d3
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 0x48c2d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d40d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 1
lea ecx, [esi + 4]
call fcn.004417c0
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esp + 0x18], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esp + 0x18], 2
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x97d0]
call fcn.004876b0
mov byte [esp + 0x18], 4
lea ecx, [esi + 0xe57c]
call fcn.004659b0
mov byte [esp + 0x18], 5
push 1
lea ecx, [esi + 0xe5b4]
call fcn.004417c0
mov byte [esp + 0x18], 6
mov dword [esi + 0xe5c4], ebx
mov dword [esi + 0xe5c8], ebx
mov dword [esi + 0xe5cc], ebx
mov dword [esi + 0xe5d0], ebx
mov byte [esp + 0x18], 7
mov dword [esi + 0xe5d4], ebx
mov dword [esi + 0xe5d8], ebx
mov dword [esi + 0xe5dc], ebx
mov dword [esi + 0xe5e0], ebx
mov byte [esp + 0x18], 8
mov dword [esi + 0xe5e4], ebx
mov dword [esi + 0xe5e8], ebx
mov dword [esi + 0xe5ec], ebx
mov dword [esi + 0xe5f0], ebx
mov byte [esp + 0x18], 9
mov eax, dword [esp + 0x20]
mov dword [esi], eax
mov dword [esi + 0x4b34], ebx
mov byte [esi + 0x4b48], bl
mov byte [esi + 0x4b49], bl
mov byte [esi + 0x4b4a], bl
mov dword [esi + 0x1c], 1
call fcn.00481460
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x4b59], bl
mov dword [esi + 0xe5f8], ebx
mov dword [esi + 0xe5fc], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x48c590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d410e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0x10], 1
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [esp + 0x10], 2
mov dword [eax + 0x10], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x492690
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
ja 0x492714
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
cmp dword [esp + 0x10], 4
je 0x492713
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x492708
lea edx, [esp + 0x24]
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
call esi
sub eax, edi
cmp eax, 0x2710
jbe 0x4926b4
pop ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
lea edx, [esp + 0x14]
push edx
mov eax, 3
mov word [esp + 0x18], ax
mov eax, dword [ebx + 0xc]
push 2
mov dword [esp + 0x24], 0x96
mov ecx, dword [eax]
push 0x3f
push eax
mov eax, dword [ecx + 0xd8]
call eax
pop edi
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x493790
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push 0
mov esi, ecx
push ebx
mov byte [esi + 0x29], al
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00493710
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
push ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0xc]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x4937f6
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, dword [esp + 0x18]
push esi
mov ebp, eax
sub edi, eax
mov eax, dword [esi]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
sub ecx, eax
push ecx
push edi
push eax
push ebp
push 0x40000000
push 0
push str.RarHtmlClassName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], eax
pop ebp
jne 0x493880
test ebx, ebx
je 0x4938a4
cmp dword [esi + 0x1c], 0
jne 0x4938a4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4938a4
push eax
mov ecx, esi
call fcn.00492e90
mov esi, eax
test esi, esi
je 0x4938a4
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.004bff04
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret 0x14
test eax, eax
je 0x493897
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x24], 0x64
jbe 0x4938a4
mov ecx, esi
call fcn.00492690
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4947a0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x494819
push ebx
push 0x800
push 0x54790e
push str.Rar_CM
call fcn.0049dbf0
mov ebx, eax
test ebx, ebx
je 0x494818
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4947d0
sub eax, edx
sar eax, 1
push esi
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4947e7
sub eax, edx
push ebx
sar eax, 1
push eax
push 2
push edi
call fcn.004c2576
push ebx
call fcn.004c2398
add esp, 0x14
test esi, esi
pop esi
jbe 0x494818
mov dword [0x548910], 3
pop ebx
pop edi
ret 4

Function at 0x494ad0
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov eax, 0x5408
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x5404], eax
push edi
push ebx
call fcn.0045f900
push 0x3a
push eax
call fcn.004c10b7
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 8
test eax, eax
je 0x494b33
cmp byte [0x56b788], 0
jne 0x494b33
push 0x31
push 0x65
call fcn.004744a0
push eax
push 0x528
call fcn.004744a0
push eax
push esi
call edi
cmp eax, 1
jne 0x494cae
mov byte [0x56b788], al
lea edx, [esp + 0x1008]
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 0x494b40
lea eax, [esp + 0x1008]
push eax
call fcn.0045fbf0
push 0x800
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1010]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
xor eax, eax
push ecx
mov word [esp + 0x100a], ax
call fcn.0045f900
cmp word [eax], 0
je 0x494c02
lea edx, [esp + 8]
push edx
call fcn.0043c780
test al, al
jne 0x494c02
lea esp, [esp]
push 0x14d
call fcn.004744a0
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x4010]
push str.__s__n_s
push ecx
mov edx, 0xa00
call fcn.0043a6e0
add esp, 0x10
push 0x34
push 0x65
call fcn.004744a0
push eax
lea edx, [esp + 0x4010]
push edx
push esi
call edi
cmp eax, 6
jne 0x494cae
push 0
lea eax, [esp + 0xc]
push eax
call fcn.0043c4e0
lea ecx, [esp + 8]
push ecx
call fcn.0043c780
test al, al
je 0x494ba0
call fcn.0044a940
cmp eax, 0x501
jb 0x494cc6
push 0x800
lea edx, [esp + 0x200c]
push edx
push ebx
mov ecx, 0x53ed88
call fcn.0044b4e0
push 0x800
lea eax, [esp + 0x300c]
push eax
lea ecx, [esp + 0x2010]
push ecx
call fcn.00460240
push 0
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3024]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x494cc6
test dword [esp + 4], 0x80000
je 0x494cc6
lea ecx, [esp + 0x3008]
push ecx
push 0x3b6
call fcn.004744a0
push eax
lea edx, [esp + 0x4010]
push edx
mov edx, 0xa00
call fcn.0043a6e0
add esp, 0xc
push 0x30
push 0x65
call fcn.004744a0
push eax
lea eax, [esp + 0x4010]
push eax
push esi
call edi
xor al, al
pop edi
mov ecx, dword [esp + 0x5404]
xor ecx, esp
call fcn.004bfc52
add esp, 0x5408
ret
mov ecx, dword [esp + 0x5408]
pop edi
xor ecx, esp
mov al, 1
call fcn.004bfc52
add esp, 0x5408
ret
Function at 0x49c5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov al, byte [esp + 0x1ac]
mov edx, dword [esp + 0x1a4]
push ebx
mov bl, byte [esp + 0x1ac]
movzx ecx, bl
push esi
mov byte [0x56b781], al
mov eax, dword [0x51e7a4]
mov dword [esp + 0x58], ecx
mov esi, 0x34
push 1
mov ecx, 0x543850
mov dword [0x56b764], 0
mov dword [0x56b760], 0
mov dword [esp + 0x4c], str.GETARC
mov dword [esp + 0x58], 0x49b6a0
mov dword [esp + 0x80], str.GETARCADV
mov dword [esp + 0x8c], 0x499100
mov dword [esp + 0xb4], str.GETARCOPT
mov dword [esp + 0xc0], 0x495840
mov dword [esp + 0xe8], str.GETARCFILES
mov dword [esp + 0xf4], 0x495cf0
mov dword [esp + 0x11c], str.GETARCBACKUP
mov dword [esp + 0x128], 0x4962c0
mov dword [esp + 0x150], str.GETARCTIME
mov dword [esp + 0x15c], 0x498040
mov dword [esp + 0x184], str.GETARCCMT
mov dword [esp + 0x190], 0x496560
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x28a
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.0047fcc0
cmp byte [esp + 0x1b4], 0
mov dword [esp + 0x18], eax
je 0x49c6b0
push 0x3f6
jmp 0x49c6c8
movzx ecx, byte [0x549a18]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffd08
add ecx, 0x3de
push ecx
call fcn.004744a0
mov ecx, 0x20
mov dword [esp + 0x1c], eax
mov eax, dword [0x51e7a4]
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x17c], eax
push 7
mov dword [esp + 0x44], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x17c], ecx
mov eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x51e7c4
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0x118], esi
mov dword [esp + 0x14c], esi
mov dword [esp + 0x180], esi
call fcn.004742b0
test bl, bl
jne 0x49c7b2
lea edx, [esp + 8]
push edx
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
test eax, eax
jle 0x49c7ae
cmp word [0x54fd12], 0
jne 0x49c7b2
cmp byte [esp + 0x1b4], bl
jne 0x49c7b2
xor bl, bl
jmp 0x49c7b4
mov bl, 1
push 7
lea eax, [esp + 0x40]
push eax
mov ecx, 0x51e7c4
call fcn.00473330
pop esi
mov al, bl
mov byte [0x534574], 0
pop ebx
add esp, 0x1a0
ret 0xc
Function at 0x49d1c0
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 0x49d390
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov eax, 0x1004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp word [0x550ef0], 0
push esi
mov esi, dword [esp + 0x100c]
push edi
mov edi, dword [esp + 0x1014]
push edi
je 0x49d3d0
push 0x550ef0
push esi
call fcn.0047e340
jmp 0x49d44f
push 0x4d69fc
push esi
push str.TempFolder
push str.Paths
call fcn.0046bcb0
xor eax, eax
mov word [esp + 8], ax
cmp word [esi], ax
je 0x49d424
push 0x800
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x49d412
push edi
lea edx, [esp + 0xc]
push edx
push esi
call fcn.0047e340
cmp word [esi], 0
je 0x49d424
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49d44f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x49d436
cmp word [esi], 0
jne 0x49d44f
mov eax, str._rartemp
mov edx, esi
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x49d440
push edi
push esi
call fcn.0045f4a0
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004bfc52
add esp, 0x1004
ret 8