joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x2e0], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0xe0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004ee100
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push dword [ebp + 0xc]
push esi
call fcn.004b5ae0
lea eax, [esp + 0x1e0]
mov ecx, 0x38
push eax
push dword [ebp + 0x14]
lea esi, [esp + 0x28]
lea edi, [esp + 0x1e8]
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.004b5970
mov ecx, dword [ebp + 0x20]
mov eax, 0xcccccccd
dec ecx
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [esp + 0x1c], eax
je 0x4b5776
mov edx, 1
mov dword [esp + 0x10], 0
lea ebx, [esp + 0x2c4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebx
jmp 0x4b5610
xor eax, eax
mov byte [esp + 0x2db], dl
mov dword [esp + 0x2c4], eax
lea esi, [esp + 0x1e0]
mov dword [esp + 0x2c8], eax
lea edi, [esp + 0x100]
mov dword [esp + 0x2cc], eax
mov ecx, 0x38
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], eax
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2d8], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2d9], al
mov eax, edx
shr eax, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0x2da], al
mov eax, 4
test ecx, ecx
je 0x4b5732
mov ebx, ecx
lea ecx, [esp + 0x100]
push ecx
push eax
lea eax, [esp + 0x2e0]
push eax
call fcn.004b5970
lea eax, [esp + 0x100]
push eax
push 0x14
lea eax, [esp + 0x2e0]
push eax
call fcn.004b5a10
xor eax, eax
jmp 0x4b56c0
movzx ecx, byte [esp + eax + 0x2d8]
xor byte [esp + eax + 0x2c4], cl
movzx ecx, byte [esp + eax + 0x2d9]
xor byte [esp + eax + 0x2c5], cl
movzx ecx, byte [esp + eax + 0x2da]
xor byte [esp + eax + 0x2c6], cl
movzx ecx, byte [esp + eax + 0x2db]
xor byte [esp + eax + 0x2c7], cl
movzx ecx, byte [esp + eax + 0x2dc]
xor byte [esp + eax + 0x2c8], cl
add eax, 5
cmp eax, 0x14
jb 0x4b56c0
lea esi, [esp + 0x20]
mov ecx, 0x38
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
sub ebx, 1
jne 0x4b5687
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor edx, edx
mov esi, dword [esp + 0x18]
mov ecx, edi
mov edi, edi
cmp ecx, dword [ebp + 0x20]
jae 0x4b5752
mov al, byte [ebx + ecx]
inc edx
mov byte [ecx + esi], al
inc ecx
cmp edx, 0x14
jb 0x4b5740
mov edx, dword [esp + 0xc]
add edi, 0x14
inc edx
mov dword [esp + 0x10], edi
sub ebx, 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebx
lea eax, [edx - 1]
cmp eax, dword [esp + 0x1c]
jb 0x4b5610
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4b5970
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xdc]
cmp eax, 0xffffffff
je 0x4b59ed
cmp eax, 0x40
jbe 0x4b599b
push 1
push edi
lea eax, [edi + 0x40]
push eax
call fcn.004b5b60
mov dword [edi + 0xdc], 0x14
mov ecx, dword [edi + 0xdc]
mov eax, 0x40
sub eax, ecx
push eax
push 0
lea eax, [ecx + edi]
push eax
call fcn.004ee100
add esp, 0xc
xor eax, eax
lea esp, [esp]
xor dword [edi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4b59c0
push esi
lea esi, [edi + 0x40]
push esi
call fcn.0048d4f0
push 1
push 0x40
push edi
push esi
call fcn.0048d530
mov dword [edi + 0xdc], 0xffffffff
pop esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b5a05
push 1
push eax
push dword [esp + 0x10]
lea eax, [edi + 0x40]
push eax
call fcn.0048d530
pop edi
ret 0xc

Function at 0x4b5a10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x40]
cmp dword [esi + 0xdc], 0xffffffff
je 0x4b5a3b
push esi
push 0
push 0
call fcn.004b5970
push edi
push 1
lea eax, [esp + 0x24]
push eax
lea edi, [esi + 0x40]
push edi
call fcn.004b5b60
xor eax, eax
mov edi, edi
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x4b5a50
push edi
call fcn.0048d4f0
push 1
push 0x40
push esi
push edi
call fcn.0048d530
push 1
push 0x14
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0048d530
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0048d3c0
xor edx, edx
pop edi
lea ecx, [ecx]
mov eax, edx
mov ecx, 3
and eax, 3
sub ecx, eax
mov eax, edx
shr eax, 2
shl ecx, 3
mov eax, dword [esp + eax*4 + 8]
shr eax, cl
mov byte [esp + edx + 0x1c], al
inc edx
cmp edx, 0x14
jb 0x4b5a90
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4b5acb
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.004edb80
add esp, 0xc
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2c
ret 0xc
Function at 0x4b9020
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x10], 0
call dword [edx + 0x48]
mov esi, eax
test esi, esi
js 0x4b90a9
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b90a1
mov eax, dword [ecx]
lea edx, [esp + 8]
push edx
push 0x5151e8
push ecx
call dword [eax]
mov esi, eax
test esi, esi
js 0x4b9093
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x4b9089
mov eax, dword [esp + 8]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0xc]
test esi, esi
js 0x4b90a9
test ecx, ecx
jne 0x4b9102
cmp dword [edi + 8], 0
je 0x4b9102
cmp dword [edi + 0x20], 0
jne 0x4b9102
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4b9102
push ebx
push eax
mov ecx, edi
call fcn.004b9a40
mov ebx, eax
test ebx, ebx
je 0x4b9101
push 0x204
push 0
push 0
push 0
push 0
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.004f252e
add esp, 4
pop ebx
xor eax, eax
test esi, esi
pop edi
setns al
pop esi
add esp, 8
ret 8
Function at 0x4b9da0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x28]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x24]
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x26], al
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov ecx, ebx
call fcn.004b9910
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4b9e15
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
sub esi, edi
push ebx
push dword [ebx]
push 0
push ebp
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
push esi
push ecx
push edi
push 0x40000000
push 0
push 0x511db0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [ebx + 0x10], 0
mov dword [ebx + 4], eax
pop edi
jne 0x4b9ea7
test ebp, ebp
je 0x4b9ebe
cmp dword [ebx + 0x20], 0
jne 0x4b9ebe
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4b9ebe
push eax
mov ecx, ebx
call fcn.004b9a40
mov esi, eax
test esi, esi
je 0x4b9ebe
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ebp
call eax
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.004f252e
add esp, 4
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x14
ret 0x14
test eax, eax
je 0x4b9ebe
push 5
push eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x14
ret 0x14
Function at 0x4bacc0
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov eax, 0x5408
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x5404], eax
push esi
mov esi, dword [esp + 0x5410]
push edi
mov edi, dword [esp + 0x5418]
push edi
call fcn.00478eb0
push 0x3a
push eax
call fcn.004ecec5
add esp, 8
test eax, eax
je 0x4bad2f
cmp byte [0x58e866], 0
jne 0x4bad2f
push 0x31
push 0x65
call fcn.00488530
push eax
push 0x528
call fcn.00488530
push eax
push esi
call fcn.004c4910
cmp eax, 1
jne 0x4baec5
mov byte [0x58e866], al
lea edx, [esp + 0x100c]
mov ecx, edi
sub edx, edi
lea ebx, [ebx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4bad40
lea eax, [esp + 0x100c]
push eax
call fcn.00478f10
push 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov word [esp + 0x100a], ax
lea eax, [esp + 0xc]
push eax
call fcn.00478eb0
cmp word [eax], 0
je 0x4bae16
lea eax, [esp + 0xc]
push eax
call fcn.00469360
test al, al
jne 0x4bae16
push 0
lea eax, [esp + 0x10]
push eax
call fcn.0040f0f0
test al, al
jne 0x4bae16
push 0x14d
call fcn.00488530
push eax
lea eax, [esp + 0x10]
push eax
push str.__s__n_s
lea eax, [esp + 0x4018]
push 0xa00
push eax
call fcn.004028e0
add esp, 0x14
push 0x34
push 0x65
call fcn.00488530
push eax
lea eax, [esp + 0x4014]
push eax
push esi
call fcn.004c4910
cmp eax, 6
jne 0x4baec5
push 0
lea eax, [esp + 0x10]
push eax
call fcn.00468d70
lea eax, [esp + 0xc]
push eax
call fcn.00469360
test al, al
je 0x4bada1
call fcn.0046bee0
cmp eax, 0x501
jb 0x4baec9
push 0x800
lea eax, [esp + 0x3010]
mov ecx, 0x55d4d8
push eax
push edi
call fcn.00440000
push 0x800
lea eax, [esp + 0x2010]
push eax
lea eax, [esp + 0x3014]
push eax
call fcn.00478310
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2028]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4baec9
test dword [esp + 8], 0x80000
je 0x4baec9
lea eax, [esp + 0x200c]
push eax
push 0x65e
call fcn.00488530
push eax
lea eax, [esp + 0x4014]
push 0xa00
push eax
call fcn.004028e0
add esp, 0x10
push 0x30
push 0x65
call fcn.00488530
push eax
lea eax, [esp + 0x4014]
push eax
push esi
call fcn.004c4910
xor al, al
jmp 0x4baecb
mov al, 1
mov ecx, dword [esp + 0x540c]
pop edi
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x5408
ret 8
Function at 0x4bd210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x1a8]
push ebx
mov bh, byte [esp + 0x1b0]
mov bl, byte [esp + 0x1b4]
movzx eax, bh
mov dword [esp + 0x54], eax
mov eax, dword [0x56df20]
mov dword [esp + 0xc], ecx
mov ecx, 0x55f640
push 1
mov dword [0x58e854], 0
mov dword [0x58e858], 0
mov byte [0x58e84d], bl
mov dword [esp + 0x48], str.GETARC
mov dword [esp + 0x54], 0x4bd490
mov dword [esp + 0x7c], str.GETARCADV
mov dword [esp + 0x88], 0x4bc350
mov dword [esp + 0xb0], str.GETARCOPT
mov dword [esp + 0xbc], 0x4bea90
mov dword [esp + 0xe4], str.GETARCFILES
mov dword [esp + 0xf0], 0x4be4e0
mov dword [esp + 0x118], str.GETARCBACKUP
mov dword [esp + 0x124], 0x4bcab0
mov dword [esp + 0x14c], str.GETARCTIME
mov dword [esp + 0x158], 0x4bedc0
mov dword [esp + 0x180], str.GETARCCMT
mov dword [esp + 0x18c], 0x4bcd40
mov dword [esp + 8], 0x34
mov dword [esp + 0xc], 0x28a
mov dword [esp + 0x14], eax
call fcn.004a8ed0
mov dword [esp + 0x14], eax
test bl, bl
je 0x4bd324
push 0x3f6
jmp 0x4bd33a
movzx eax, byte [0x548fb0]
neg eax
sbb eax, eax
and eax, 0xfffffd08
add eax, 0x3de
push eax
call fcn.00488530
mov dword [esp + 0x18], eax
mov ecx, 0x56df2c
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 7
mov dword [esp + 0x24], eax
mov eax, dword [0x56df20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x178], eax
lea eax, [esp + 0x38]
push 7
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x44], 0x34
mov dword [esp + 0x48], 0x20
mov dword [esp + 0x78], 0x34
mov dword [esp + 0x7c], 0x20
mov dword [esp + 0xac], 0x34
mov dword [esp + 0xb0], 0x20
mov dword [esp + 0xe0], 0x34
mov dword [esp + 0xe4], 0x20
mov dword [esp + 0x114], 0x34
mov dword [esp + 0x118], 0x20
mov dword [esp + 0x148], 0x34
mov dword [esp + 0x14c], 0x20
mov dword [esp + 0x17c], 0x34
mov dword [esp + 0x180], 0x20
call fcn.00487a00
test bh, bh
jne 0x4bd454
lea eax, [esp + 4]
push eax
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
test eax, eax
jle 0x4bd450
cmp word [0x54f29a], 0
jne 0x4bd454
test bl, bl
jne 0x4bd454
xor bl, bl
jmp 0x4bd456
mov bl, 1
push 7
lea eax, [esp + 0x3c]
mov ecx, 0x56df2c
push eax
call fcn.004879b0
mov ecx, dword [esp + 0x1a4]
mov al, bl
pop ebx
xor ecx, esp
mov byte [0x55d0d4], 0
call fcn.004ebbd8
add esp, 0x1a4
ret 0xc
Function at 0x4c2f30
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x4c2fa6
push ebx
push 0x800
push 0x546e9e
push str.Rar_CM
call fcn.004c3d00
mov ebx, eax
test ebx, ebx
je 0x4c2fa5
push esi
mov esi, edi
lea ecx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c2f60
sub esi, ecx
mov ecx, edi
sar esi, 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2f74
sub ecx, edx
push ebx
sar ecx, 1
push ecx
push 2
push edi
call fcn.004f2dfc
push ebx
call fcn.004f2a17
add esp, 0x14
test esi, esi
pop esi
je 0x4c2fa5
mov dword [0x547ea0], 3
pop ebx
pop edi
ret 4

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

Disassembly:
mov eax, 0x1004
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp word [0x539aa0], 0
push esi
mov esi, dword [esp + 0x100c]
push edi
mov edi, dword [esp + 0x1014]
push edi
je 0x4c3a43
push 0x539aa0
push esi
call fcn.0048e710
jmp 0x4c3ae6
push 0x50b8c4
push esi
push str.TempFolder
push str.Paths
call fcn.0049fec0
xor eax, eax
mov word [esp + 8], ax
movzx eax, word [esi]
test ax, ax
je 0x4c3a90
push 0x800
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4c3a88
push edi
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0048e710
movzx eax, word [esi]
test ax, ax
jne 0x4c3a9f
cmp byte [esp + 0x1018], 0
je 0x4c3aab
test ax, ax
je 0x4c3ae6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4c3ae6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4c3abd
cmp word [esi], 0
jne 0x4c3ae6
mov eax, dword [str._rartemp]
mov dword [esi], eax
mov eax, dword [0x512f64]
mov dword [esi + 4], eax
mov eax, dword [0x512f68]
mov dword [esi + 8], eax
mov eax, dword [0x512f6c]
mov dword [esi + 0xc], eax
mov ax, word [0x512f70]
mov word [esi + 0x10], ax
push edi
push esi
call fcn.00477290
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1004
ret 0xc
Function at 0x4c3dd0
Capabilities:
Create directory

Disassembly:
mov eax, 0x2004
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
mov esi, dword [esp + 0x2010]
push 0x7ff
push eax
lea eax, [esp + 0x100c]
push eax
call fcn.0048e710
cmp byte [esp + 0x2018], 0
je 0x4c3e75
cmp byte [0x55ab7c], 0
jne 0x4c3e2a
cmp byte [0x55aacb], 0
jne 0x4c3e2a
xor edx, edx
jmp 0x4c3e2f
mov edx, 1
lea ecx, [esp + 0x1004]
push edi
lea edi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3e40
xor eax, eax
sub ecx, edi
sar ecx, 1
test dl, dl
setne al
add eax, 0x61
push eax
push 0x512f4c
lea eax, [esp + 0x1010]
lea eax, [eax + ecx*2]
push 2
push eax
call fcn.004028e0
add esp, 0x10
pop edi
push 0
push 0x800
lea eax, [esp + 0xc]
push eax
call fcn.004c3a00
push 0x800
lea eax, [esp + 8]
push eax
call fcn.00477290
push 0x800
lea eax, [esp + 0x1008]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0048e6d0
push 0x800
lea eax, [esp + 8]
push eax
call fcn.004699f0
test eax, eax
je 0x4c3efc
push 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4c3efc
push dword [esp + 0x2014]
lea eax, [esp + 8]
push eax
push esi
call fcn.0048e710
mov al, 1
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2004
ret 0x10
lea eax, [esp + 4]
push eax
push 0x1f7
call fcn.00488530
push eax
call fcn.004cf640
add esp, 8
mov ecx, 0x56df60
call fcn.00463320
mov ecx, dword [esp + 0x2004]
xor al, al
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2004
ret 0x10
Function at 0x4c3f40
Capabilities:
Capture screenshot

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

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
push eax
push 0x515098
push 1
push 0
push 0x515188
xor bl, bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4c4714
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x5150e8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4c470a
cmp byte [esp + 0x10], bl
je 0x4c4687
mov eax, dword [esp + 8]
push 2
push dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 4]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4c46a8
mov eax, dword [esp + 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x24]
push 0
mov ecx, dword [eax]
test edx, edx
jne 0x4c46bf
push 0x50b8c4
jmp 0x4c46c0
push edx
push eax
call dword [ecx + 0x44]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4c46d7
mov eax, dword [esp + 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4c46ea
mov eax, dword [esp + 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 8]
push 1
push dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4c4700
mov bl, 1
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
add esp, 8
ret 0x1c

Function at 0x4c48f0
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x4c4cf0
Capabilities:
Set current directory

Disassembly:
push ebx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x4c4d25
push dword [esp + 8]
push 0x627
call fcn.00488530
push eax
call fcn.004cf640
add esp, 8
mov ecx, 0x56df60
call fcn.00463320
mov al, bl
pop ebx
ret 4
Function at 0x4c7200
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x414]
lea eax, [esp + 0xc]
push 0x200
push eax
push dword [edi + 4]
mov dword [edi], 0x3b8
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x40
lea eax, [esp + 0x10]
push eax
call fcn.00445820
cmp word [0x591f00], 0
mov ebx, 0x200
je 0x4c72bd
lea ecx, [esp + 0xc]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4c7260
mov eax, dword [0x50fb08]
lea esi, [esp + 0xc]
mov dword [ecx], eax
mov ax, word [0x50fb0c]
mov word [ecx + 4], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c7284
push 0x591f00
sub esi, ecx
push 0x5aa
sar esi, 1
call fcn.00488530
push eax
mov eax, ebx
sub eax, esi
push str._s:__s
push eax
lea eax, [esp + 0x1c]
lea eax, [eax + esi*2]
push eax
call fcn.004028e0
add esp, 0x14
cmp byte [0x591ef8], 0
je 0x4c7328
lea ecx, [esp + 0xc]
add ecx, 0xfffffffe
lea ecx, [ecx]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4c72d0
mov eax, dword [0x50fb08]
lea esi, [esp + 0xc]
mov dword [ecx], eax
mov ax, word [0x50fb0c]
mov word [ecx + 4], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c72f4
push dword [esp + 0x418]
sub esi, ecx
push 0x2fd
sar esi, 1
call fcn.00488530
push eax
sub ebx, esi
lea eax, [esp + 0x14]
lea eax, [eax + esi*2]
push ebx
push eax
call fcn.004028e0
add esp, 0x10
push 0x80
lea eax, [esp + 0x10]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.0048e710
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x404
ret 8

Function at 0x4c7b40
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1404
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x1400], eax
mov eax, dword [esp + 0x1408]
push esi
mov esi, dword [esp + 0x1410]
push edi
push eax
push dword [0x53890c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [esp + 8]
push 0xa00
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
mov ecx, esi
mov edi, edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4c7bb6
test ax, ax
je 0x4c7bb2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4c7bb6
add ecx, 4
add edx, 4
test ax, ax
jne 0x4c7b90
xor eax, eax
jmp 0x4c7bbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c7bc7
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x1408]
pop edi
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1404
ret 8