joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b10c0
Capabilities:
Copy file
Move file

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x4b10f1
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x4b10f1
push 0
push esi
call fcn.004b0bf0
add esp, 8
xor eax, eax
pop edi
pop esi
ret
mov eax, dword [0x6dbf1c]
test eax, eax
je 0x4b1110
push edi
push esi
call fcn.004b0c60
add esp, 8
test eax, eax
je 0x4b1123
pop edi
mov eax, 2
pop esi
ret
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
mov eax, 2
jne 0x4b1128
mov eax, 1
pop edi
pop esi
ret

Function at 0x4b1130
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0x26
push esi
push 0
mov word [esi], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
pop esi
ret

Function at 0x4b2530
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4da188
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x60]
sub esp, 8
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
je 0x4b2572
mov eax, dword [ecx + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
cmp eax, ebx
jne 0x4b25a4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4b2669
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x1b0]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4b2669
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
call dword [ecx + 0xd0]
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4b2649
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 2
push ecx
push eax
mov dword [esp + 0x2c], ebx
call fcn.0043d0d0
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebx
mov eax, dword [esp + 0x20]
je 0x4b2624
cmp eax, ebx
je 0x4b25f7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], ebx
call fcn.0043cf40
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebx
je 0x4b2624
push eax
call fcn.0049fc50
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x4b2633
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], bl
cmp eax, ebx
je 0x4b2645
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x18], 0xffffffff
je 0x4b265b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4b2669
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4b39c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4da240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d21c0
lea ebp, [esi + 0x28]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004c4c50
mov dword [esi + 0x2c], 0x4dc564
mov dword [esi + 0x30], 0x64
mov eax, dword [0x4eb4c0]
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 3
call fcn.004bc890
lea ecx, [esi + 0x258]
mov byte [esp + 0x18], 4
call fcn.004ab220
lea ecx, [esi + 0x270]
mov byte [esp + 0x18], 5
call fcn.004ab220
lea ecx, [esi + 0x2b8]
mov byte [esp + 0x18], 6
call fcn.004a7660
lea ecx, [esi + 0x98]
mov dword [ebp], 0x4dd560
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
push str.BG_COMBOCOOL
push ecx
mov dword [esi], 0x4dd548
mov dword [esi + 0x2c], 0x4dd540
mov dword [esi + 0x44], edi
mov dword [esi + 0x2b0], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
call ebp
lea edx, [esi + 0x1d8]
push str.BG_EDIT
push edx
call ebp
lea eax, [esi + 0xd8]
push str.LeftPad
push eax
call ebp
lea ecx, [esi + 0x118]
push str.RightPad
push ecx
call ebp
lea edx, [esi + 0x158]
push str.ImgTextPad
push edx
call ebp
add esp, 0x28
mov dword [esi + 0x2ac], 3
mov word [esi + 0x218], di
mov dword [esi + 0x29c], edi
mov dword [esi + 0x290], edi
mov dword [esi + 0x28c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x298], edi
mov dword [esi + 0x294], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], 0xf2f2f2
mov dword [esi + 0x94], 0xa8a8a8
mov dword [esi + 0x2a0], 0xffffff
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x2b4], edi
mov dword [esi + 0x288], edi
mov dword [esi + 0x2a4], 5
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2a8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b5180
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
test eax, eax
push esi
push edi
mov esi, ecx
je 0x4b5273
push 0
push eax
mov eax, dword [esi + 0x50]
push eax
call fcn.004bcba0
mov ecx, dword [esi + 0x70]
mov edx, eax
shl edx, 5
mov ecx, dword [ecx + 4]
add esp, 0xc
add ecx, edx
mov edx, dword [ecx + 0x1c]
test edx, edx
jbe 0x4b5273
cmp edx, 2
jbe 0x4b51eb
cmp edx, 4
jne 0x4b5273
mov edx, dword [ecx + 0x10]
mov eax, dword [esi + 0x78]
push edx
push 0
push 0xbd1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0x208
ret 4
mov edi, dword [esi + 0x28c]
push eax
mov ecx, esi
call fcn.004b4740
cmp edi, dword [esi + 0x28c]
je 0x4b5273
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4b5269
mov edx, dword [esi + 0x74]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4b5254
mov eax, dword [esi + 0x74]
push 0
push 0xd
push 0x100
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0x208
ret 4
mov ecx, dword [esi + 0x74]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
add esp, 0x208
ret 4
mov edx, dword [esi + 0x74]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
add esp, 0x208
ret 4
Function at 0x4b5ca0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4da34a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d21c0
xor edi, edi
mov dword [esi + 0x28], 0x4dc564
mov dword [esp + 0x18], edi
mov dword [esi + 0x2c], 0x64
lea ebp, [esi + 0x30]
mov byte [esp + 0x18], 1
mov ecx, ebp
call fcn.004c4c50
lea ecx, [esi + 0x230]
mov byte [esp + 0x18], 2
call fcn.004ab220
lea ecx, [esi + 0x248]
mov byte [esp + 0x18], 3
call fcn.004ab220
lea ecx, [esi + 0x2310]
mov byte [esp + 0x18], 4
call fcn.004a7660
mov dword [esi], 0x4dd570
mov dword [esi + 0x28], 0x4dd568
mov dword [ebp], 0x4dd564
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
mov dword [esi + 0x68], edi
mov word [esi + 0x27c], di
mov word [esi + 0x12c8], di
mov dword [esi + 0x12c4], 1
mov dword [esi + 0x6c], edi
lea eax, [esi + 0x140]
mov dword [esi + 0x70], edi
push str.BG_COMBOCOOL
mov dword [esi + 0x74], edi
push eax
mov dword [esi + 0x210], edi
call ebp
lea ecx, [esi + 0x180]
push str.BG_EDIT
push ecx
call ebp
lea edx, [esi + 0x80]
push str.LeftPad
push edx
call ebp
lea eax, [esi + 0xc0]
push str.RightPad
push eax
call ebp
lea ecx, [esi + 0x100]
push str.ImgTextPad
push ecx
call ebp
mov eax, 0x10
add esp, 0x28
mov dword [esi + 0x22c], 3
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x268], edi
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edi
mov dword [esi + 0x208], edi
mov dword [esi + 0x20c], edi
mov dword [esi + 0x200], eax
mov dword [esi + 0x218], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x274], edi
mov dword [esi + 0x278], edi
mov dword [esi + 0x21c], edi
mov dword [esi + 0x220], 0xf2f2f2
mov dword [esi + 0x7c], edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x78], edi
mov dword [esi + 0x228], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x214], edi
mov dword [esi + 0x260], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x224], 5
mov dword [esi + 0x264], 0x20
mov dword [esi + 0x60], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b82c0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004b8360
test eax, eax
je 0x4b8312
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b8306
cmp word [esi + 0x12c8], 0
lea edi, [esi + 0x12c8]
je 0x4b8306
push edi
mov ecx, esi
mov dword [esi + 0x12c4], 0
call fcn.004b65d0
mov word [edi], 0
mov dword [esi + 0x12c4], 1
mov eax, dword [esi + 0x4c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x4c]
push 0x2009
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x6dbf28]
test eax, eax
je 0x4b8354
mov edx, dword [esi + 0x50]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x14
push 1
push 1
push 0
push 0
push 0
push edx
call edi
mov eax, dword [esi + 0x4c]
push 0x34
push 1
push 1
push 0
push 0
push 0
push eax
call edi
pop edi
pop esi
ret 4
Function at 0x4ba320
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ba4c8
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov ebx, dword [esi + 0x4adc]
xor eax, eax
test ebx, ebx
sete al
push eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x4adc], eax
call fcn.004c2030
mov edx, dword [esi + 0x4adc]
lea ecx, [esi + 0xaec]
push edx
call fcn.004c2030
mov eax, dword [esi + 0x4adc]
test eax, eax
je 0x4ba44b
mov eax, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsZoomed]
push eax
call ebp
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x4ae8]
mov dword [esi + 0x4ae4], eax
push ecx
push edx
call ebx
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x4ae0], eax
and eax, 0xff3bffff
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x14]
push 0
push edx
push eax
call fcn.004b0760
add esp, 0x10
test eax, eax
jne 0x4ba3f1
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub edi, edx
mov edx, dword [esi + 4]
push edx
sub ebx, ecx
call ebp
test eax, eax
pop ebp
je 0x4ba42a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0x60
push ebx
push edi
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0x190
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4ba4b6
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x4ae0]
mov ecx, dword [esi + 4]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x4aec]
mov edx, dword [esi + 0x4af4]
mov ecx, dword [esi + 0x4ae8]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0x4af0]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x4ae4]
test eax, eax
je 0x4ba4aa
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4ba4b0
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call fcn.004d27c0
add esp, 0xc
pop edi
pop ebx
pop esi
add esp, 0x10
ret
Function at 0x4ba870
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
pop esi
ret

Function at 0x4bb760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da5d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004d21c0
lea edi, [esi + 0x28]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.004c4c50
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004ab220
mov ecx, dword [esp + 0xc]
mov eax, 0xd3d3d3
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
or eax, 0xffffffff
mov dword [edi], 0x4dd628
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi], 0x4dd61c
mov dword [esi + 0x2c], 0x14
mov word [esi + 0x58], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4bb810
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4da60f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x28]
mov dword [esi], 0x4dd61c
mov dword [edi], 0x4dd628
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 1
call fcn.004ab260
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004c4c80
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d2270
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4bc9a0
Capabilities:
Check os version

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
cmp al, 5
call esi
push 4
mov dword [0x6dd078], eax
call esi
push 0x15
mov dword [0x6dd098], eax
call esi
push 4
mov dword [0x6dd094], eax
call esi
push 7
mov dword [0x6dd090], eax
call esi
push 0xe
mov dword [0x6dd08c], eax
call esi
push 0x11
mov dword [0x6dd088], eax
call esi
push 0x10
mov dword [0x6dd084], eax
call esi
push 0x10
mov dword [0x6dd080], eax
call esi
push 4
mov dword [0x6dd07c], eax
call esi
mov dword [0x6dd074], eax
mov eax, 0x10
mov ecx, eax
mov dword [0x6dd068], eax
mov eax, 2
mov dword [0x6dd06c], ecx
mov dword [0x6dd060], eax
mov dword [0x6dd050], eax
mov edx, 1
mov ecx, 3
xor eax, eax
mov dword [0x6dd070], edx
mov dword [0x6dd058], edx
mov dword [0x6dd05c], ecx
mov dword [0x6dd048], ecx
mov dword [0x6dd04c], 0x16
mov dword [0x6dd040], eax
mov dword [0x6dd03c], edx
mov dword [0x6dd02c], eax
pop esi
ret
Function at 0x4bfeb0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4da71f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d21c0
lea ebp, [esi + 0x28]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004c4c50
mov dword [esi + 0x2c], 0x4dc564
mov dword [esi + 0x30], 0x64
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 2
call fcn.004ab220
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
call fcn.004ab220
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 4
call fcn.004ab220
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 5
call fcn.004ab220
or eax, 0xffffffff
mov dword [esi + 0x34], edi
mov dword [esi + 0xac], edi
mov word [esi + 0xa04], di
mov word [esi + 0xa44], di
mov word [esi + 0x984], di
mov word [esi + 0x9c4], di
mov dword [esi + 0xb8], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x980], edi
mov dword [esi + 0xa88], edi
mov dword [esi + 0xa90], edi
mov dword [esi + 0xa94], edi
mov dword [esi + 0xa98], edi
mov dword [esi + 0xa9c], edi
mov dword [esi + 0xaa4], eax
mov dword [esi + 0xaac], eax
mov dword [esi + 0xab4], eax
mov dword [esi + 0xabc], edi
mov ecx, 0x220
xor eax, eax
lea edi, [esi + 0xc0]
mov dword [esi], 0x4dd6c0
mov dword [ebp], 0x4dd6bc
mov dword [esi + 0x2c], 0x4dd6b4
mov dword [esi + 0xa84], 6
mov dword [esi + 0xaa0], 1
mov dword [esi + 0xa8c], 5
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c3100
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x124c]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
mov dword [esi + 0x1250], 0xffffffff
test eax, eax
jbe 0x4c3181
push edi
lea edi, [esi + 0xb0c]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
cmp ecx, eax
jne 0x4c316b
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x4c316b
mov ecx, dword [edi]
push 5
push ecx
call ebp
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [edi + 0x14]
lea ecx, [esi + 0x129c]
push eax
push 1
call fcn.004cfb10
mov dword [esi + 0x1250], ebx
jmp 0x4c3172
mov ecx, dword [edi]
push 0
push ecx
call ebp
mov eax, dword [esi + 0x124c]
inc ebx
add edi, 0x74
cmp ebx, eax
jb 0x4c3130
pop edi
cmp dword [esi + 0x1250], 0xffffffff
jne 0x4c31b3
mov edx, dword [esi + 0xb0c]
push 5
push edx
call ebp
lea eax, [esi + 0xb20]
lea ecx, [esi + 0x129c]
push eax
push 1
call fcn.004cfb10
mov dword [esi + 0x1250], 0
mov eax, dword [esi + 0x2070]
cmp eax, 1
jne 0x4c31d6
mov edx, dword [esi + 4]
lea ecx, [esi + 0x2084]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
ret 8
cmp eax, 2
jne 0x4c31ee
mov ecx, dword [esi + 4]
lea eax, [esi + 0x2094]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4c4260
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4c4363
cmp edi, dword [esi + 0x124c]
jae 0x4c4363
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi*8]
push eax
sub ecx, edi
mov dword [esp + 0x14], eax
lea edx, [edi + ecx*4]
mov edi, dword [esi + edx*4 + 0xb68]
mov ecx, dword [esi + edx*4 + 0xb60]
mov ebx, dword [esi + edx*4 + 0xb6c]
mov ebp, dword [esi + edx*4 + 0xb64]
lea esi, [esi + edx*4]
sub edi, ecx
sub ebx, ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x18]
xor eax, eax
push edx
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.004c3dc0
mov eax, dword [esi + 0xb64]
mov ecx, dword [esi + 0xb60]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x14]
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x4c4370
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4c4473
cmp edi, dword [esi + 0x124c]
jae 0x4c4473
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi*8]
push eax
sub ecx, edi
mov dword [esp + 0x14], eax
lea edx, [edi + ecx*4]
mov edi, dword [esi + edx*4 + 0xb78]
mov ecx, dword [esi + edx*4 + 0xb70]
mov ebx, dword [esi + edx*4 + 0xb7c]
mov ebp, dword [esi + edx*4 + 0xb74]
lea esi, [esi + edx*4]
sub edi, ecx
sub ebx, ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x18]
xor eax, eax
push edx
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.004c4a00
mov eax, dword [esi + 0xb74]
mov ecx, dword [esi + 0xb70]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x14]
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4c4bd0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb08], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4c6ee0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x6c8]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x271c]
test eax, eax
je 0x4c700e
mov eax, dword [esi + 0x2714]
test eax, eax
jne 0x4c6f9a
mov ecx, dword [esi + 0xac]
mov eax, dword [esi + 0x2dbc]
lea edi, [esi + 0x2dbc]
push ecx
mov ecx, edi
mov dword [esi + 0x2718], 1
call dword [eax + 0xc]
push 5
push 0x4ffec0
push 0x4ffec0
push str.IMG_PROGRESS
push 0x4ffec0
mov ecx, edi
call fcn.004bf630
mov edx, dword [esi + 0xe0]
mov eax, dword [esi + 8]
push 0
push 1
push 0
push 0
push 2
push edx
push eax
push str.ProgressBar
mov ecx, edi
call fcn.004cd440
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004bf5e0
test edi, edi
je 0x4c6f91
mov ecx, dword [esi + 0x2dc4]
lea eax, [esi + 0x2dc0]
push 0
push ecx
jmp 0x4c7008
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
jmp 0x4c7008
mov eax, dword [esi + 8]
mov dword [esi + 0x2718], 0
mov edx, dword [0x6dcf84]
push 0
push edx
push 2
push eax
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push 0x4f008c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x3530], eax
call edi
mov ecx, dword [esi + 0x3530]
push 0
push 0
push 0x409
push ecx
call edi
mov edx, dword [esi + 0x3530]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 8]
push 0
push 0x1f4
push 0xc1c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret