joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470250
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
push esi
push edi
mov edi, ecx
call fcn.0048db51
push 0x6101e0
lea ecx, [edi + 0x328]
call fcn.0048699f
push str.Also_Download_Video_
lea ecx, [edi + 0x3a8]
call fcn.0048699f
push str.Compatible_with_TV_IPhone
lea ecx, [edi + 0x428]
call fcn.0048699f
push str.Click_Here_To_Get_Pro_Version_
lea ecx, [edi + 0x630]
call fcn.0048699f
push 0x420
mov ecx, edi
call fcn.00486564
push str.paste_url_like:_https:__www.youtube.com_watch_vnv_5K4YDsew
mov ecx, eax
call fcn.0048699f
push 1
push 0
lea ecx, [edi + 0x1d8]
mov dword [edi + 0xdc8], 0xff0000
call fcn.00491e2c
push dword [0x6cb3a4]
lea ecx, [edi + 0x1d8]
call fcn.0048699f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x6cb3bc]
push 0xf1
push dword [edi + 0x3c8]
call esi
push 0
push dword [0x6cb3c4]
push 0xf1
push dword [edi + 0x448]
call esi
push 0
lea ecx, [edi + 0x5a8]
call fcn.004864f6
push 0x640000
push 0
push 0x401
push dword [edi + 0x548]
call esi
cmp dword [0x6cb3c0], 1
mov ecx, edi
je 0x470344
call 0x4710a0
jmp 0x470349
call 0x4711a0
lea ecx, [edi + 0x158]
call fcn.004868c9
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [esp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470387
sub eax, edx
mov ecx, 0x6a73ec
sar eax, 1
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00461e90
push 0x3fd
mov ecx, edi
call fcn.00486564
test eax, eax
je 0x4703b9
mov eax, dword [eax + 0x20]
mov esi, dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0x60ce70
push 0x60ce70
push eax
call esi
push 0x3fe
mov ecx, edi
call fcn.00486564
test eax, eax
je 0x4703df
mov eax, dword [eax + 0x20]
push 0x60ce70
push 0x60ce70
push eax
call esi
push 0x43b
mov ecx, edi
call fcn.00486564
test eax, eax
je 0x4703ff
mov eax, dword [eax + 0x20]
push 0x60ce70
push 0x60ce70
push eax
call esi
push 0x3fb
mov ecx, edi
call fcn.00486564
test eax, eax
je 0x47041f
mov eax, dword [eax + 0x20]
push 0x60ce70
push 0x60ce70
push eax
call esi
push 0x43e
mov ecx, edi
call fcn.00486564
test eax, eax
je 0x47043f
mov eax, dword [eax + 0x20]
push 0x60ce70
push 0x60ce70
push eax
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret
Function at 0x4754a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 8]
mov dword [esp + 0x10], 3
push eax
push 0x20019
push 0
push dword [ecx + 0xc]
mov dword [esp + 0x1c], 4
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4754d6
mov esi, dword [esp + 0x1c]
jmp 0x475512
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
test eax, eax
push dword [esp + 8]
cmovne ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x47552e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
add esp, 0x10
ret 8

Function at 0x47a4f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x94
cmp dword [0x6cb514], 0
je 0x47a511
xor eax, eax
cmp dword [0x6cb508], eax
setne al
add esp, 0x94
ret
push esi
push edi
push 0x90
lea eax, [esp + 0x10]
push 0
push eax
call fcn.005cb3c0
add esp, 0xc
mov dword [esp + 8], 0x94
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [esp + 0x18], 2
push 0x613b0c
sete al
mov dword [0x6cb518], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x47a602
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x613b1c
push esi
call edi
mov dword [0x6cb4f8], eax
test eax, eax
je 0x47a602
push 0x613b30
push esi
call edi
mov dword [0x6cb4fc], eax
test eax, eax
je 0x47a602
push str.MonitorFromRect
push esi
call edi
mov dword [0x6cb500], eax
test eax, eax
je 0x47a602
push 0x613b54
push esi
call edi
mov dword [0x6cb504], eax
test eax, eax
je 0x47a602
push 0x613b68
push esi
call edi
mov dword [0x6cb50c], eax
test eax, eax
je 0x47a602
push str.EnumDisplayDevicesW
push esi
call edi
mov dword [0x6cb510], eax
test eax, eax
je 0x47a602
cmp dword [0x6cb518], 0
je 0x47a5de
push 0x613b90
jmp 0x47a5e3
push str.GetMonitorInfoA
push esi
call edi
mov dword [0x6cb508], eax
test eax, eax
je 0x47a602
mov eax, 1
pop edi
mov dword [0x6cb514], eax
pop esi
add esp, 0x94
ret
pop edi
mov dword [0x6cb4f8], 0
xor eax, eax
mov dword [0x6cb4fc], 0
mov dword [0x6cb500], 0
mov dword [0x6cb504], 0
mov dword [0x6cb508], 0
mov dword [0x6cb50c], 0
mov dword [0x6cb510], 0
mov dword [0x6cb514], 1
pop esi
add esp, 0x94
ret
Function at 0x47c639
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x47c67a
push 0x61459c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47c689
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x47c689
push dword [esi]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x60cab4]
call edi
jmp 0x47c68b
cmp dword [esi + 4], 0
je 0x47c689
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x47c691
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x6934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x47c6d5
lea eax, [ebp - 0x28]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0047bf26
neg eax
sbb ebx, ebx
and ebx, dword [ebp - 0x28]
jmp 0x47c6de
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47c6f0
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d0746
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x47c728
test bl, 1
je 0x47c728
push ecx
push edi
test esi, esi
je 0x47c70e
mov ecx, esi
call fcn.0047c639
jmp 0x47c714
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x47c725
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d0746
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 8]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x47c805
lea eax, [ebp - 0x54]
push eax
push ecx
call fcn.0047bd99
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + 0x10]
mov eax, dword [edx]
or eax, dword [edx + 4]
je 0x47c764
lea eax, [ebp - 0x44]
push eax
push edx
call fcn.0047bd99
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x47c77d
lea eax, [ebp - 0x4c]
push eax
push ecx
call fcn.0047bd99
pop ecx
lea eax, [ebp - 0x4c]
pop ecx
mov dword [ebp - 0x38], eax
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push edi
test esi, esi
je 0x47c79d
mov ecx, esi
call fcn.0047be50
jmp 0x47c7a3
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x47c7bb
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d0746
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x47c7eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
call fcn.004d0746
mov esi, dword [ebp - 0x3c]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47c805
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d0746
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x20], ebx
je 0x47c83a
test bl, 1
jne 0x47c83a
push dword [eax + 0x20]
push edi
test esi, esi
je 0x47c823
mov ecx, esi
call fcn.0047c639
jmp 0x47c829
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x47c83a
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d0746
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bd291
leave
ret 0xc
Function at 0x481184
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x4811c3
call fcn.0048e109
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4811c3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4811cb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0047e66e
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x481be4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x481c70
cmp dword [esi + 0x20], 0
je 0x481c70
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x481c70
cmp dword [ebp + 8], 0
je 0x481c70
xor edi, edi
mov ebx, edi
call fcn.0048e109
push 0x615868
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x481c54
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x481c70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004d399e
mov edi, eax
add esp, 0xc
test edi, edi
je 0x481c6c
mov ecx, esi
call fcn.00481982
mov eax, edi
jmp 0x481c72
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x486675
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5fc128
call fcn.005bd2d1
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x48669b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4866f5
lea ecx, [ebp - 0x10]
call fcn.0045e370
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x60cab4]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005df9fb
push eax
call fcn.0045f2a0
add esp, 0x14
test esi, esi
je 0x4866e8
push esi
call fcn.005cea9c
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0047b06c
mov eax, ebx
call fcn.005bd29f
ret 8

Function at 0x486cc3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.0048e109
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x486cf6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.00486d09
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48d290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x48d2e6
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x48d2bf
call fcn.0047d2e2
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x48d2d4
call fcn.0047d2e2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x48d2e6
call fcn.0047d2e2
call fcn.0048e109
cmp dword [eax + 0x3c], 0
je 0x48d2fb
push edi
mov ecx, ebx
call fcn.0048c9b3
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0048d4e1
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x48d324
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x48d330
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48e26f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0048659e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x48e2ab
call fcn.0048e530
mov dword [esi + 0xc], 1
jmp 0x48e2b0
call fcn.0048e530
cmp dword [esi], 0
je 0x48e2fb
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x48e2d6
push edi
call fcn.0047b6f0
lea ecx, [edi + 1]
push ecx
jmp 0x48e2e5
push 0xff
call fcn.0047afde
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0047b713
pop edi
jmp 0x48e31f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x48e31f
push dword [esi]
push dword [ebp - 4]
call fcn.004d1ab6
pop esi
leave
ret 0xc

Function at 0x48e487
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0048e530
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x48e4cf
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0047b6f0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0047b713
jmp 0x48e4da
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004d1ab6
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x49588e
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4958b7
call fcn.0048e109
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x4958e4
push esi
push eax
mov ecx, 0x6cd408
call fcn.0049674b
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.00495d08
int3

Function at 0x497680
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4976d3
push esi
push dword [ebp + 8]
call fcn.00497869
mov edi, eax
test edi, edi
je 0x4976ce
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4976ce
mov eax, dword [ebp - 8]
jmp 0x4976e5
mov eax, dword [ebp + 0x10]
jmp 0x4976e5
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x4d92a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x4d92c2
call fcn.0048e109
mov esi, dword [eax + 0xc]
push 0x621f14
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4d9304
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d9304
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4d9304
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004d930d
jmp 0x4d9306
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x57752e
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005adb27
call fcn.0048e15d
cmp dword [eax + 0x14], 0
jne 0x577549
mov ecx, esi
pop esi
jmp fcn.00576852
pop esi
ret

Function at 0x5783fd
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00462100
call fcn.0048e15d
cmp dword [eax + 0x14], 0
jne 0x578418
mov ecx, esi
pop esi
jmp fcn.00577c6e
pop esi
ret
Function at 0x5920d7
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.005e2657
pop ecx
test eax, eax
jne 0x592119
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0048e6ca
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5920df
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x5c1ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a584
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6934c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
test eax, eax
js 0x5c1d95
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push eax
push 1
call fcn.0048f0b5
mov edi, eax
test edi, edi
js 0x5c1d98
mov ecx, ebx
call fcn.005c1910
mov esi, eax
xor ecx, ecx
mov edx, 0x4c
mov dword [ebp + 8], esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0047a6f0
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5c1d4a
push 0x5c0560
push 0x5c0380
push dword [ebp + 8]
mov dword [eax], esi
lea esi, [eax + 4]
push 0x4c
push esi
call fcn.005bcd7a
jmp 0x5c1d4c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5c1d95
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push esi
push 0
push 0
push 0
push 0
push 4
push 0
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0xc], 0xffffffff
call fcn.0048f28a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5c5330
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
mov ecx, dword [eax + 0x8c]
test ecx, ecx
je 0x5c5345
pop ebp
jmp fcn.00481774
add eax, 0x90
cmp dword [eax + 0x14], 7
jbe 0x5c5352
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
call fcn.0047b0bd
pop ebp
ret 4
Function at 0x5d4c8b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.005bcf10
mov eax, dword [0x6934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.005e1cc8
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x5d4ccd
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x5d4e29
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.005bccd0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x6d1890]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.005eb9b5
mov ecx, dword [esi*4 + 0x6d1890]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x5d4e22
cmp eax, dword [edi + ecx + 0x24]
jne 0x5d4e22
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5d4e22
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005eb9b5
add esp, 0x14
test edx, edx
jl 0x5d4e22
jg 0x5d4d98
test eax, eax
jb 0x5d4e22
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x5d4e22
jl 0x5d4db2
cmp dword [ebp - 0x1008], eax
ja 0x5d4e22
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x5d4dd0
test ebx, ebx
je 0x5d4e09
cmp ecx, edi
jae 0x5d4e09
mov al, byte [ecx]
cmp al, 0xd
jne 0x5d4dea
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5d4df6
cmp byte [ecx + 1], 0xa
jne 0x5d4df6
inc ecx
jmp 0x5d4df6
movzx eax, al
movsx eax, byte [eax + 0x6a2898]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x5d4dd0
cmp edx, ebx
jne 0x5d4dd0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x5d4e27
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005bd291
leave
ret
Function at 0x5e7a61
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6934c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x668f50
push esi
call fcn.005e0520
pop ecx
pop ecx
test eax, eax
jne 0x5e7a8f
xor al, al
jmp 0x5e7b0c
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.005e77a4
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x5e7ac9
push dword [ebp - 0x210]
call fcn.005d5315
xor al, al
jmp 0x5e7b0a
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x5e7acf
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x5e7aef
push edx
call fcn.005e7997
pop ecx
test al, al
je 0x5e7aba
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x5e7afd
mov bl, 1
push dword [ebp - 0x210]
call fcn.005d5315
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005bd291
leave
ret