joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f8e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5782d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
push str.Settings
lea ecx, [esp + 0x10]
call fcn.00530bfd
push str.Settings
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call fcn.00530bfd
lea ecx, [esp + 8]
push 1
push ecx
mov ecx, eax
mov byte [esp + 0x30], 1
call fcn.005282a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.00530b8f
push str.DisplayToolBarsButtonInfo
lea ecx, [esp + 0x10]
call fcn.00530f6b
push str.DisplayStateOfToolBarsToolBar
lea ecx, [esp + 0xc]
call fcn.00530f6b
mov eax, dword [esi + 0x24]
neg eax
sbb eax, eax
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f8f65
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.004f8cc0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004f8ae0
mov edi, eax
test edi, edi
je 0x4f8f5d
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.004f8b50
mov eax, dword [eax]
mov ecx, edi
push eax
mov eax, dword [esp + 0x10]
push eax
mov byte [esp + 0x30], 4
call fcn.004907f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call fcn.00530b8f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4f8f0c
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x4f8f8e
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edi*4]
push eax
call fcn.0052da16
mov edx, dword [esp + 8]
mov ecx, eax
push edx
call fcn.0041a770
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x4f8f6e
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00530b8f
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4f9770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x578366
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
lea ecx, [esi + 0x10]
call fcn.0052c3f3
mov eax, dword [0x5d2d10]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
call fcn.0052c534
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x59285c
mov dword [esi + 0x30], 1
mov dword [esi + 0x4c], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f9820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x578391
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
lea ecx, [esi + 0x10]
call fcn.0052c3f3
mov eax, dword [0x5d2d10]
lea edi, [esi + 0x28]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [edi], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 1
call fcn.0052c534
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 8], ecx
push eax
mov ecx, edi
mov byte [esp + 0x1c], 2
mov dword [esi], 0x59285c
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], edx
call fcn.00530d18
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2c], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4fb000
Capabilities:
Delete registry key

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4fb071
lea ebx, [esi + 0x1c]
xor edi, edi
mov ecx, ebx
call fcn.004a7b70
mov esi, dword [eax + edi]
test esi, esi
je 0x4fb05b
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x4fb048
add edi, 4
cmp edi, 0x400
jl 0x4fb03a
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4fc4e0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x578818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
push str._sm__d_.bak
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5d7b88
call fcn.00530bfd
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004fc780
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x228], 0
call fcn.00530e24
mov eax, dword [eax]
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x224], 1
call fcn.004a07d0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x21c], 4
call fcn.00530b8f
lea ecx, [esp + 0x14]
mov byte [esp + 0x21c], 3
call fcn.00530b8f
push str._sm.dat
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x5d7b88
call fcn.00530bfd
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.004fc780
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x228], 5
call fcn.00530e24
lea ecx, [esp + 0x10]
mov byte [esp + 0x21c], 7
call fcn.00530b8f
mov edx, dword [esp + 8]
push 0
push str.Backup_Files__.bak_.bak
push 4
push edx
push 0x5d2540
push 0
lea ecx, [esp + 0x34]
call fcn.00528aaf
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 8
call fcn.00528c11
cmp eax, 1
jne 0x4fc698
lea eax, [esp + 4]
lea ecx, [esp + 0x1c]
push eax
call fcn.00528cec
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
call fcn.00530b8f
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
call fcn.00528cec
mov eax, dword [eax]
mov edx, dword [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 4]
call fcn.00530b8f
lea ecx, [esp + 0xc8]
mov byte [esp + 0x21c], 9
call fcn.00530b8f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 7
call fcn.005327a5
lea ecx, [esp + 0xc]
mov byte [esp + 0x21c], 3
call fcn.00530b8f
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00530b8f
mov eax, 1
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
pop esi
add esp, 0x21c
ret
lea ecx, [esp + 0xc8]
mov byte [esp + 0x21c], 0xa
call fcn.00530b8f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 7
call fcn.005327a5
lea ecx, [esp + 0xc]
mov byte [esp + 0x21c], 3
call fcn.00530b8f
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x214]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x21c
ret
Function at 0x5063f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57910b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x5d2d10]
push ebx
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx + 0xc]
neg eax
sbb eax, eax
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x50654b
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0052cc59
mov al, byte [edi + 0x64]
cmp al, bl
mov eax, dword [esp + 0x10]
je 0x50646f
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x50646f
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x20], ebx
je 0x506513
add eax, 0x14
mov ecx, edi
push eax
call fcn.005063f0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0xa
push eax
mov edx, dword [ecx + 0xc]
push edx
call fcn.0051640e
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
push str.SoftwareGlobalSCAPECuteFTP_7_ProfessionalSettings
call fcn.00530bfd
push str.Expand
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.00530f6b
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push ebx
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push ecx
push SysReAllocStringLen
call ebp
test eax, eax
jne 0x506502
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.004c5a20
mov edx, dword [esp + 0x24]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call fcn.00530b8f
mov eax, dword [esp + 0x10]
mov esi, eax
cmp eax, ebx
mov dword [esp + 0x24], esi
je 0x50653f
lea ecx, [eax + 0x14]
mov byte [esp + 0x38], 2
call fcn.0052ca9b
lea ecx, [esi + 4]
mov byte [esp + 0x38], bl
call fcn.00530b8f
push esi
call fcn.00531c29
add esp, 4
cmp dword [esp + 0x1c], ebx
jne 0x50643a
pop esi
pop ebp
mov ecx, dword [esp + 0x38]
call fcn.0052ca49
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x28]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x50a370
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
je 0x50a399
mov dword [edi], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push eax
call fcn.00530bfd
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x50a3d7
add eax, 3
and al, 0xfc
call fcn.00515810
mov edx, dword [ebp + 0x10]
mov eax, esp
push eax
push esi
push ebx
push edx
mov dword [ebp - 0x14], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x50a3f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x10]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00530b8f
mov eax, esi
jmp 0x50a521
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
push ecx
push 0x5c4800
push edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x50a42e
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00530b8f
mov eax, 0x80004005
jmp 0x50a521
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x12]
mov dx, word [eax + 0x10]
mov ax, word [eax + 0x16]
cmp cx, 7
mov word [ebp - 0x24], ax
jne 0x50a451
cmp dx, 1
jne 0x50a451
xor eax, eax
jmp 0x50a455
sbb eax, eax
neg eax
cmp edi, ebx
je 0x50a45b
mov dword [edi], eax
or edi, 0xffffffff
cmp eax, ebx
je 0x50a4d8
mov eax, dword [ebp + 0xc]
dec eax
je 0x50a4d8
dec eax
je 0x50a415
mov ecx, dword [0x5d2d10]
mov dword [ebp + 8], ecx
mov byte [ebp - 4], 1
call fcn.0054fc30
mov esi, dword [eax + 8]
push 0x100
push 0x100
lea ecx, [ebp + 8]
call fcn.00530fbf
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
lea ecx, [ebp + 8]
call fcn.0053100e
mov edx, dword [ebp + 8]
push ebx
push 4
push edx
call fcn.0053a94a
cmp eax, 6
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
je 0x50a4d3
call fcn.00530b8f
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], edi
call fcn.00530b8f
mov eax, 0x80030105
jmp 0x50a521
call fcn.00530b8f
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push eax
push ecx
push str.VarFileInfoTranslation
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], edi
jne 0x50a504
call fcn.00530b8f
mov eax, 0x80004005
jmp 0x50a521
mov eax, dword [ebp - 0x1c]
and al, 0xfc
cmp eax, 4
je 0x50a51a
call fcn.00530b8f
mov eax, 0x80004005
jmp 0x50a521
call fcn.00530b8f
xor eax, eax
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50ad50
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x5797e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [esp + 0x40]
push ebp
push esi
call fcn.00530b1a
lea ecx, [esp + 8]
lea eax, [esp + 0x1c]
push str.capxxxxxxxxx
push ecx
mov dword [esp + 0x24], 0x50a8a0
mov dword [esp + 0x28], 0x50a8e0
mov dword [esp + 0x2c], fcn.0050a800
mov dword [esp + 0x30], 0x50a930
mov dword [esp + 0x1c], eax
call fcn.0049f540
add esp, 8
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x44]
xor esi, esi
push esi
push esi
push edx
push eax
push esi
mov dword [esp + 0x48], esi
call sub.urlmon.dll_URLDownloadToFileA
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push esi
push edx
mov eax, dword [ecx - 8]
push esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], esi
call fcn.00530fbf
push eax
push esi
call dword [0x66e878]
test eax, eax
je 0x50aedc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], esi
cmp eax, esi
mov dword [esp + 0xc], esi
je 0x50ae0e
push eax
call fcn.004efaf0
add esp, 4
mov ebp, eax
jmp 0x50ae10
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x34], 1
cmp eax, esi
je 0x50ae2c
push eax
call fcn.004efaf0
add esp, 4
mov esi, eax
mov dword [esp + 0x3c], esi
push edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x40], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
push ecx
push esi
call dword [0x66e870]
test eax, eax
pop edi
je 0x50ae97
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00527e16
mov ecx, dword [esp + 0x48]
push eax
mov byte [esp + 0x38], 3
call fcn.00530cc8
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.00530b8f
jmp 0x50aea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
call dword [0x66e87c]
test esi, esi
mov byte [esp + 0x34], 1
je 0x50aec8
push esi
call fcn.004efb00
add esp, 4
test ebp, ebp
mov byte [esp + 0x34], 0
je 0x50aee6
push ebp
call fcn.004efb00
add esp, 4
jmp 0x50aee6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x44], eax
lea ecx, [esp + 8]
mov dword [esp + 0x34], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
Function at 0x50af16
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x50af6c
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5932ac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x50af5f
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x50af6e
xor eax, eax
pop esi
leave
ret 4

Function at 0x51f78d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x51f7ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051a1c4
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x51f7d0
test byte [esp + 8], 2
je 0x51f7d0
call fcn.0051a237
mov dword [eax], 0xd
call fcn.0051a240
mov dword [eax], 5
jmp 0x51f7a9
xor eax, eax
ret

Function at 0x5213e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5d7688
cmp edx, dword [eax]
je 0x521402
add eax, 8
inc ecx
cmp eax, 0x5d7718
jl 0x5213f3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5d7688]
jne 0x521530
mov eax, dword [0x670a44]
cmp eax, 1
je 0x52150a
test eax, eax
jne 0x521433
cmp dword [0x5d4b98], 1
je 0x52150a
cmp edx, 0xfc
je 0x521530
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x52146a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0051d970
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00518e50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5214ad
lea eax, [ebp - 0x1a4]
push eax
call fcn.00518e50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x59c0c0
push edi
call fcn.00515fa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0051d970
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0051d980
lea eax, [ebp - 0xa0]
push 0x59c0a0
push eax
call fcn.0051d980
push dword [esi + 0x5d768c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0051d980
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005235c0
add esp, 0x2c
pop edi
jmp 0x521530
lea eax, [ebp + 8]
lea esi, [esi + 0x5d768c]
push 0
push eax
push dword [esi]
call fcn.00518e50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x527740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00515810
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x52780b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x52780b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x5277be
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x5277c9
or bh, 8
and edi, 0x8000000
je 0x5277e4
mov eax, dword [0x6721dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x52780b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x527be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x527c0b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x527c2f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x527c4a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x52e40c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x52e444
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00531036
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0053100e
jmp 0x52e450
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x52e454
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x670288
mov ecx, edi
call fcn.00530d18
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x52e4a7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x52e4ba
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00531036
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0053100e
jmp 0x52e4ba
mov ecx, esi
call fcn.00531203
test eax, eax
je 0x52e4ba
push edi
mov ecx, eax
call fcn.0052e40c
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x530104
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x530146
call fcn.0054fc30
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x530146
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x53013d
xor eax, eax
jmp 0x53014e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00530154
pop edi
pop esi
pop ebx
ret 4

Function at 0x5327e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x532805
cmp dword [edi + 0x3c], 0
jne 0x532805
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0054fc30
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00532832
pop edi
pop esi
pop ebx
ret 8

Function at 0x532880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0054fc30
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5328b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005328c4
pop edi
pop esi
pop ebx
ret 8