joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ed0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5892eb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x5f3004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x5fcad0], 0x5cfc58
mov dword [0x5fcad8], 0x5cfe64
push 0
mov dword [ebp - 0x14], 0x5fcad0
mov dword [0x5fcaec], 1
mov dword [0x5fcae8], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x41117e
lea eax, [ecx + 0x400000]
mov dword [0x5fcae4], ecx
mov dword [0x5fcae0], eax
mov edx, 0x1555
mov eax, dword [0x5fcae8]
mov dword [0x5fcadc], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5fcae8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5fcae8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5fcae8]
add ecx, eax
sub edx, 1
jne 0x410f64
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x5fcaf0
mov dword [ebp - 0x18], 0x5fcaf0
mov dword [ebp - 0x1c], 0x5fcaf0
mov dword [0x5fcaf0], 0x5ceb88
mov dword [0x5fcaf4], edx
mov dword [0x5fcaf8], edx
mov byte [ebp - 4], 1
mov dword [0x5fcaf0], 0x5ceb24
mov dword [0x5fcafc], edx
mov dword [0x5fcb04], edx
mov dword [0x5fcb00], edx
mov dword [0x5fcb08], 0x40
mov byte [ebp - 4], 2
mov dword [0x5fcb08], 0x80
mov byte [ebp - 4], 5
mov dword [0x5fcb0c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x5fcb20
mov dword [ebp - 0x20], 0x5fcb20
call esi
mov byte [ebp - 4], 7
mov dword [0x5fcb38], 0
mov byte [ebp - 4], 8
push 0x5fcb44
mov dword [ebp - 0x24], 0x5fcb44
call esi
mov byte [ebp - 4], 9
mov dword [0x5fcb5c], 0x3e8
mov dword [ebp - 0x28], 0x5fcb70
mov dword [ebp - 0x2c], 0x5fcb70
mov dword [0x5fcb70], 0x5ceb88
mov dword [0x5fcb74], 0
mov dword [0x5fcb78], 0
mov byte [ebp - 4], 0xa
mov dword [0x5fcb70], 0x5ceb24
mov dword [0x5fcb7c], 0
mov dword [0x5fcb84], 0
mov dword [0x5fcb80], 0
mov dword [0x5fcb88], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x5fcb88], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x5fcb64], 0x3e80
mov dword [0x5fcb68], 1
mov dword [0x5fcb6c], 0
lea eax, [eax*2 + 2]
mov dword [0x5fcb60], eax
mov byte [ebp - 4], 0xe
push 0x5fcb8c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x5fcba4
call fcn.0040ff20
mov byte [ebp - 4], 0x10
mov dword [0x5fcb10], 0
mov dword [0x5fcbcc], 0
movsd xmm0, qword [0x5d0590]
movsd qword [0x5fcb18], xmm0
xorps xmm0, xmm0
mov dword [0x5fcbd0], 0
mov dword [0x5fcbd4], 0
mov dword [0x5fcbd8], 0
mov dword [0x5fcb14], 0
movq qword [0x5fcb3c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x5fcad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056c909
int3
Function at 0x411c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x411c3f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x411d15
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x411d15
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x411d0c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x411cf0
cmp edi, 1
jne 0x411cb5
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x411d07
cmp edi, 2
jne 0x411cc8
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x411d07
cmp edi, 4
jne 0x411cd9
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x411d07
cmp edi, 8
jne 0x411cf0
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x411d07
test edi, edi
jle 0x411d07
push edi
mov ecx, esi
call fcn.00413b30
push edi
push ebx
push eax
call fcn.00569990
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x412ca0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5895c5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x5f3004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x412e6a
cmp word [esi], 0
je 0x412e6a
lea ecx, [ebp - 0x38]
call fcn.00404e80
mov dword [ebp - 4], 0
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x412e43
cmp word [esi + 2], 0
je 0x412d52
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412d04
sub ecx, edi
mov eax, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x412d52
cmp word [esi + ecx*2 - 4], 0x3a
je 0x412d52
lea eax, [ecx - 1]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.004156f0
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x412d4f
cmp dword [ebp - 0x14], esi
jne 0x412d4c
movzx eax, word [0x5cca7c]
mov esi, 0x5cca7c
jmp 0x412d52
mov esi, dword [ebp - 0x1c]
movzx eax, word [esi]
movzx eax, ax
test ax, ax
je 0x412e43
cmp eax, 0x5c
jne 0x412d6e
cmp word [esi + 2], 0
je 0x412e43
cmp word [esi + 2], 0x3a
jne 0x412d92
movzx eax, word [esi + 4]
test ax, ax
je 0x412e43
cmp eax, 0x5c
jne 0x412d92
cmp word [esi + 6], 0
je 0x412e43
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x412e43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x412e43
cmp eax, 3
jne 0x412e3f
push 0x5c
push esi
call fcn.0056921b
mov edx, eax
add esp, 8
test edx, edx
je 0x412e3f
cmp word [edx + 2], 0
jne 0x412df1
sub edx, 2
cmp edx, esi
jb 0x412e3f
nop
cmp word [edx], 0x5c
je 0x412df1
sub edx, 2
cmp edx, esi
jae 0x412de0
xor esi, esi
jmp 0x412e48
lea ecx, [ebp - 0x64]
call fcn.00404e80
mov byte [ebp - 4], 1
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x64]
push edx
push esi
call fcn.004156f0
lea ecx, [ebp - 0x64]
call fcn.004153d0
mov ecx, eax
call fcn.00412ca0
test eax, eax
je 0x412e33
push 0
push esi
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004042f0
jmp 0x412e48
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004042f0
xor esi, esi
jmp 0x412e48
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004042f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412e80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58960d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x5f3004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x412fdc
cmp word [esi], 0
je 0x412fdc
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00569f10
or dword [ebp - 0x50], 1
xor eax, eax
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
push esi
call fcn.00413c20
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x412f49
xor esi, esi
jmp 0x412f6c
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x412fa7
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWConstString.virtual_12
jne 0x412fa2
mov ecx, 0x5fcad8
call fcn.004146c0
jmp 0x412fa7
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412ff0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589640
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5f3004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x41315f
cmp word [esi], 0
je 0x41315f
lea ecx, [ebp - 0x244]
call fcn.00404e80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x413067
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x4130a0
test ax, ax
je 0x4130d2
cmp word [esi + 2], 0x3a
jne 0x4130d2
cmp word [esi + 4], 0x5c
jne 0x4130d2
push 0x5c
push esi
call fcn.0056921b
add esp, 8
test eax, eax
je 0x4130d2
cmp eax, esi
jbe 0x4130be
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.004156f0
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x4130f5
cmp dword [ebp - 0x220], edi
jne 0x4130eb
mov edi, 0x5cca7c
jmp 0x4130f5
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x413140
cmp word [edi], 0
je 0x413140
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x413140
cmp word [edi], 0
je 0x41311e
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x413149
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x413149
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.004042f0
mov eax, esi
jmp 0x413161
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567aa7
mov esp, ebp
pop ebp
ret

Function at 0x41f2d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x41f318
call fcn.00428073
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f315
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41f35f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x41f33b
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x59a9ec]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x41f35c
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x59a9ec]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x422faf
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 0x423002
push esi
push dword [ebp + 8]
call fcn.00423198
mov edi, eax
test edi, edi
je 0x422ffd
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 0x422ffd
mov eax, dword [ebp - 8]
jmp 0x423014
mov eax, dword [ebp + 0x10]
jmp 0x423014
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 0x42a261
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 0x42a2a0
call fcn.00428073
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a2a0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42a2a8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00483dce
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42aca3
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 0x42ad2f
cmp dword [esi + 0x20], 0
je 0x42ad2f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ad2f
cmp dword [ebp + 8], 0
je 0x42ad2f
xor edi, edi
mov ebx, edi
call fcn.00428073
push 0x59cec8
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 0x42ad13
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 0x42ad2f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004848c8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42ad2b
mov ecx, esi
call fcn.0042aa41
mov eax, edi
jmp 0x42ad31
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43a39d
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 0x43a3b6
call fcn.00428073
mov esi, dword [eax + 0xc]
push 0x59db5c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43a3f8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43a3f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x43a3f8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0043a401
jmp 0x43a3fa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x45f477
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x58a348
call fcn.00568170
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x45f49d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x45f4f7
lea ecx, [ebp - 0x10]
call fcn.0041cdb5
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 [0x59a9ec]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00574f13
push eax
call fcn.0041d15e
add esp, 0x14
test esi, esi
je 0x45f4ea
push esi
call fcn.00574696
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004169c0
mov eax, ebx
call fcn.0056813e
ret 8
Function at 0x484f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x484f2b
cmp dword [edi + 0x80], 0
jne 0x484f2b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00428073
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0048519e
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x484f58
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.00428073
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 0x484f8b
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.00484f9e
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x48707c
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 0x4870d2
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4870ab
call fcn.0046d5a4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4870c0
call fcn.0046d5a4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4870d2
call fcn.0046d5a4
call fcn.00428073
cmp dword [eax + 0x3c], 0
je 0x4870e7
push edi
mov ecx, ebx
call fcn.0048679f
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004872cd
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x487110
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x48711c
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 0x518213
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.0045f08f
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 0x51824f
call fcn.00518430
mov dword [esi + 0xc], 1
jmp 0x518254
call fcn.00518430
cmp dword [esi], 0
je 0x51829f
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 0x51827a
push edi
call fcn.0042785a
lea ecx, [edi + 1]
push ecx
jmp 0x518289
push 0xff
call fcn.0041de9c
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004232d4
pop edi
jmp 0x5182c3
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 0x5182c3
push dword [esi]
push dword [ebp - 4]
call fcn.0046a103
pop esi
leave
ret 0xc

Function at 0x518387
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.00518430
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x5183cf
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042785a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004232d4
jmp 0x5183da
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046a103
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x51974b
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.0057924f
pop ecx
test eax, eax
jne 0x51978d
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.0042355f
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x519753
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 0x553cda
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0056422b
call fcn.004280c7
cmp dword [eax + 0x14], 0
jne 0x553cf5
mov ecx, esi
pop esi
jmp fcn.00552ffe
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.004022c0
call fcn.004280c7
cmp dword [eax + 0x14], 0
jne 0x554bc4
mov ecx, esi
pop esi
jmp fcn.0055441a
pop esi
ret