joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e2d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x49e2f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049c78a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49e313
test byte [esp + 8], 2
je 0x49e313
call fcn.0049c7fd
mov dword [eax], 0xd
call fcn.0049c806
mov dword [eax], 5
jmp 0x49e2ec
xor eax, eax
ret

Function at 0x4ae925
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ae95d
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.004ac9b2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ac98a
jmp 0x4ae969
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b001b
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 0x4b005d
call fcn.004b6539
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b005d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b0054
xor eax, eax
jmp 0x4b0065
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b006b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b5c23
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b5c51
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b5c6f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b5b89
jmp 0x4b5c6f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b5c6f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b5b89
test edi, edi
mov eax, edi
jne 0x4b5c59
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405ed1
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x5023e6
call fcn.004db7d5
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 0x14]
and dword [ebp - 4], 0
and dword [edi], 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
sub eax, 0x200
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp eax, 0xe
ja 0x405f36
push 0x10
call esi
mov ecx, 0x8000
test cx, ax
jne 0x405f2a
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
jne 0x405f2a
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x405f36
xor ebx, ebx
inc ebx
mov dword [edi], ebx
mov eax, ebx
jmp 0x40600f
mov eax, dword [ebx + 4]
sub eax, 0x100
cmp eax, 9
ja 0x406009
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
je 0x405f67
cmp dword [ebx + 8], 0x58
je 0x405f67
cmp dword [ebx + 8], 0x43
je 0x405f67
cmp dword [ebx + 8], 0x56
jne 0x405f2a
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x405f81
cmp dword [ebx + 8], 0x25
je 0x405f2a
cmp dword [ebx + 8], 0x27
je 0x405f2a
cmp dword [ebx + 4], 0x100
jne 0x406009
mov eax, dword [ebx + 8]
cmp eax, 8
jne 0x405ffa
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x14]
call fcn.0040d982
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x405fac
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov byte [ebp - 4], 2
test esi, esi
je 0x405fdd
mov dl, bl
mov ecx, esi
call fcn.0040da1f
test al, al
je 0x405fdd
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
jmp 0x405ffd
mov dword [edi], ebx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
test esi, esi
je 0x405f2f
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x405f2f
xor ebx, ebx
inc ebx
add eax, 0xffffff90
cmp eax, 0xb
jbe 0x405f2d
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.004db722
ret 0x10
Function at 0x406bdf
Capabilities:
Check if file exists

Disassembly:
push 0
mov eax, 0x50283e
call fcn.004db733
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x406cbf
mov eax, dword [0x57f354]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00406d83
and dword [ebp - 4], 0
mov ecx, 0x57f354
push dword [eax]
call fcn.00407037
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040d645
test esi, esi
jne 0x406c75
mov eax, dword [0x57f354]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00406e54
mov dword [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406cb0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x406cb0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040d645
push 1
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00406de8
mov dword [ebp - 4], 6
push 0x534024
push dword [eax]
call fcn.004e37a0
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040d645
test esi, esi
je 0x406cbf
mov al, 1
jmp 0x406cc1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.0040d645
xor al, al
call fcn.004db6fc
ret 4

Function at 0x40d4a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d4f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d4f7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x40d4e9
cmp esi, ecx
jae 0x40d4f7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x40d4d7
cmp esi, ecx
jae 0x40d4f7
cmp word [esi], 0
je 0x40d4f7
mov eax, esi
jmp 0x40d4f9
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x40dad7
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x503b8c
call fcn.004db767
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x48], esi
and dword [ebp - 0x44], 0
xor edi, edi
mov eax, dword fs:[0x2c]
inc edi
mov dword [ebp - 0x54], esi
mov ecx, dword [eax]
mov eax, dword [0x5826ec]
cmp eax, dword [ecx + 4]
jg 0x40dc6e
push 0x534888
lea ecx, [ebp - 0x40]
call fcn.00404285
mov dword [ebp - 4], 2
lea edx, [ebp - 0x40]
push edi
lea ecx, [ebp - 0x28]
call fcn.0046bc60
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040569b
push str.html
lea ecx, [ebp - 0x40]
call fcn.00404285
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046b140
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040569b
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046d480
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x40db7b
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x50], 0x533e68
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.0040569b
cmp edi, 0xffffffff
jne 0x40dbdf
xor ebx, ebx
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 4
push edi
mov dword [ebp - 0x50], 0x533e68
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
jmp 0x40dc5b
mov eax, dword [0x5826f4]
cmp dword [0x5826f8], eax
je 0x40dc01
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
call fcn.0046f0f0
add dword [0x5826f4], 0x18
pop ecx
jmp 0x40dc10
lea edx, [ebp - 0x28]
mov ecx, 0x5826f0
push edx
push eax
call fcn.0046f1f0
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x40dc1a
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x48]
xor ebx, ebx
add eax, eax
push ebx
push edx
push eax
push ecx
push edi
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea ecx, [ebp - 0x28]
call fcn.0046d480
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 4
mov dword [ebp - 0x50], 0x533e68
test edi, edi
je 0x40dc5b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov eax, esi
call fcn.004db711
ret
push 0x5826ec
call fcn.004dafcb
cmp dword [0x5826ec], 0xffffffff
pop ecx
jne 0x40db0d
mov dword [ebp - 4], edi
mov ecx, 0x5826f0
call fcn.0046e5b0
push 0x525c1a
call fcn.004dadf3
mov byte [ebp - 4], 0
mov dword [esp], 0x5826ec
call fcn.004daf81
pop ecx
jmp 0x40db0d

Function at 0x40ed5e
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push esi
mov esi, dword [esp + 0xc]
sub esi, edx
push edi
xor edi, edi
cmp edx, dword [esp + 0x10]
cmova esi, eax
test esi, esi
je 0x40ed8e
movzx eax, byte [edx]
xor eax, dword [ecx]
imul eax, eax, 0x1000193
inc edx
inc edi
mov dword [ecx], eax
cmp edi, esi
jne 0x40ed79
jmp 0x40ed90
mov eax, dword [ecx]
pop edi
pop esi
ret 8
Function at 0x410cc2
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea esi, [eax + 1]
push esi
call fcn.0040d75e
push esi
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.00410c99
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x41c760
Capabilities:
Parse credit card information

Disassembly:
push 0x2c
mov eax, 0x506b0a
call fcn.004db767
mov ebx, ecx
mov edi, ebx
lea eax, [ebx - 0x218]
neg edi
sbb edi, edi
and edi, eax
cmp dword [ebx + 0x14], 0
je 0x41c8ae
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x434
push dword [edi + 0x154]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x41c8aa
mov al, byte [ebp + 8]
cbw
push eax
mov dword [ebp - 0x38], eax
call fcn.004e3cd2
pop ecx
test eax, eax
je 0x41c8aa
movsx ecx, byte [ebp + 8]
movzx eax, word [ebx]
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x41c8ae
call fcn.0040d33d
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d16b
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 4]
call fcn.00410cc2
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push esi
call fcn.00404285
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebx + 0x14]
jae 0x41c880
add ebx, 4
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x41c81f
mov eax, dword [ebx]
movzx eax, word [eax + ecx*2]
cmp eax, 0x3d
ja 0x41c84e
je 0x41c88c
sub eax, 0x23
je 0x41c83a
dec eax
sub eax, 1
je 0x41c83a
sub eax, 1
jmp 0x41c860
push dword [ebp - 0x38]
call fcn.004e3cbf
pop ecx
test eax, eax
jne 0x41c88c
push 0x1056
jmp 0x41c878
cmp eax, 0x3f
jb 0x41c862
cmp eax, 0x40
jbe 0x41c88c
cmp eax, 0x5e
je 0x41c88c
cmp eax, 0x60
je 0x41c88c
cmp dword [ebx + 0x14], 8
jb 0x41c86a
mov ebx, dword [ebx]
movzx eax, word [ebx + ecx*2]
cmp dword [ebp - 0x2c], eax
je 0x41c88c
push 0x1057
push ecx
mov ecx, edi
call fcn.0041c51a
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
xor ebx, ebx
jmp 0x41c88e
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040d645
mov al, bl
jmp 0x41c8b0
mov al, 1
jmp 0x41c8b0
xor al, al
call fcn.004db711
ret 4
Function at 0x4202da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50753b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x57c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004dab43
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
or dword [ebp - 4], 0xffffffff
push eax
push eax
push esi
push 0x420297
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x420340
push 8
push esi
call fcn.004dab35
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x4203b4
Capabilities:
Reference sql statements

Disassembly:
push 0x34
mov eax, 0x507594
call fcn.004db767
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push str.InstallerAnalytics.dll
mov dword [edi + 0xc], eax
call fcn.00404285
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00453160
pop ecx
mov byte [ebp - 4], 1
lea esi, [edi + 0x10]
push eax
mov ecx, esi
call fcn.00404232
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
push 0x536248
lea ecx, [ebp - 0x28]
call fcn.00404285
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, dword [ebp + 8]
push esi
call fcn.004acbb4
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [esi + 0x14], 8
jb 0x420442
mov esi, dword [esi]
push 0x5c
push esi
call fcn.004deada
pop ecx
pop ecx
test eax, eax
je 0x420487
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x420487
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeEmbeddedUI
push ebx
call esi
push str.ShutdownEmbeddedUI
push ebx
mov dword [edi], eax
call esi
push str.EmbeddedUIHandler
push ebx
mov dword [edi + 4], eax
call esi
mov dword [edi + 8], eax
mov eax, dword [edi]
test eax, eax
je 0x420496
push 0
push 0
push dword [edi + 0xc]
call eax
call fcn.004db711
ret 8
Function at 0x42a173
Capabilities:
Get disk size

Disassembly:
push 0xa8
mov eax, 0x5098e9
call fcn.004db7d5
mov edi, ecx
mov dword [ebp - 0x88], edi
cmp dword [ebp + 8], 1
je 0x42a19e
and dword [edi + 0x1d4], 0
xor eax, eax
jmp 0x42a31e
xor ecx, ecx
mov dword [ebp - 4], ecx
wait
mov esi, dword [edi + 0x288]
mov ebx, dword [edi + 0x28c]
cmp esi, ebx
jne 0x42a1bd
xor eax, eax
inc eax
wait
jmp 0x42a31e
mov dword [ebp - 0x98], esi
cmp esi, ebx
je 0x42a2c9
mov eax, dword [esi + 0x28]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [0x54bf88]
lahf
test ah, 0x44
jnp 0x42a2c1
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42a20f
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x24], eax
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
call fcn.00501400
mulsd xmm0, qword [0x54bfa0]
mov eax, dword [esi + 0x28]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x42a2bf
push 0x53513c
lea ecx, [ebp - 0x48]
call fcn.00404285
mov byte [ebp - 4], 1
push str.OutOfDiskSpace
lea ecx, [ebp - 0x30]
call fcn.00404285
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x1dc]
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0040569b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040569b
jmp 0x42a1b4
xor ecx, ecx
add esi, 0x30
jmp 0x42a1bd
push 0x53857c
lea ecx, [ebp - 0x30]
call fcn.00404285
mov byte [ebp - 4], 3
push str.OutOfDiskSpace
lea ecx, [ebp - 0x48]
call fcn.00404285
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x1dc]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x48]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0040569b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040569b
wait
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
call fcn.004db722
ret 4
Function at 0x42c81e
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x509da3
call fcn.004db733
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x14]
and dword [esi], 0
test al, al
jne 0x42c927
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
inc ecx
test eax, eax
push 2
pop edx
cmovne ecx, edx
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
mov edx, 0x8000
mov cx, ax
and cx, dx
cmp byte [edi + 0x48], bl
sete bl
cmp dword [ebp + 0xc], 8
jne 0x42c88d
xor ax, ax
mov dword [esi], 1
cmp ax, cx
sbb esi, esi
neg esi
add esi, 2
jmp 0x42c8ab
cmp dword [ebp + 0xc], 0x14
mov esi, ebx
jne 0x42c8ab
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor ax, ax
cmp ax, cx
sbb ebx, ebx
neg ebx
add ebx, 2
push dword [edi - 0x24]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp + 0x14], edi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push eax
push esi
push eax
mov ecx, dword [ecx + 0x44]
push edi
mov edx, dword [ecx]
call dword [edx + 0x18]
mov esi, dword [ebp - 0x10]
push 0
push ebx
push 2
mov ecx, dword [esi + 0x44]
push edi
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [ebp + 0xc], 8
je 0x42c8ea
cmp dword [ebp + 0xc], 0x14
jne 0x42c914
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi - 0x24]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 0x12
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov edi, dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42c927
and dword [ebp + 0x14], 0
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.004db6fc
ret 0x10
Function at 0x430218
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x54
mov eax, 0x50a724
call fcn.004db767
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], ebx
call fcn.0046b990
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 1
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0045bcb0
push eax
mov edx, 0x538b10
mov dword [ebp - 0x60], 1
lea ecx, [ebp - 0x5c]
call fcn.00419e5a
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push eax
call fcn.00430487
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040569b
xor eax, eax
inc eax
mov dword [ebp - 0x60], eax
and eax, 0xfffffffe
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0040569b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046d480
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4302a6
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0040569b
test esi, esi
jne 0x4302ef
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046d480
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4302d6
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0040569b
test esi, esi
je 0x43031e
mov eax, dword [0x57f3d4]
lea ecx, [ebp - 0x2c]
push ecx
cmp dword [0x57f3d8], eax
je 0x430311
mov edx, eax
call fcn.0046f0f0
add dword [0x57f3d4], 0x18
pop ecx
jmp 0x43031c
push eax
mov ecx, 0x57f3d0
call fcn.0046f1f0
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040569b
mov al, bl
call fcn.004db711
ret

Function at 0x4398e9
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x50c50e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x57c080]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, 0x105
lea eax, [ebp]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4399a9
cmp eax, esi
jae 0x4399a9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d92c
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, 0x539998
push ebx
call fcn.004e0c26
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00410f3f
test edi, edi
jne 0x439969
mov eax, esi
jmp 0x439970
push edi
call fcn.004e0c26
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00410f3f
mov edi, dword [ebp - 0x10]
push 0x5c
push edi
call fcn.004deada
pop ecx
pop ecx
test eax, eax
je 0x439996
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040d645
mov eax, esi
jmp 0x4399ab
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004dab24
add ebp, 0x210
leave
ret
Function at 0x4410ea
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x441136
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x441161
shr ecx, 2
test cl, 1
je 0x441169
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x441196
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
jbe 0x441196
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x441b16
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x57c080]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x130]
xor ebp, ebp
push 0x30
pop esi
push esi
mov ebx, ecx
push ebp
push ebx
call fcn.004de980
push 0x110
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x114
push ebp
push eax
call fcn.004de980
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441b75
cmp dword [esp + 0x14], 6
jae 0x441b78
push 0x2c
pop esi
mov eax, dword [esp + 0x134]
mov dword [ebx], esi
mov dword [ebx + 4], ebp
test eax, eax
jne 0x441b99
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebx + 4], 1
mov ecx, eax
mov eax, edi
jmp 0x441b9b
mov ecx, edi
mov esi, dword [esp + 0x138]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
test esi, esi
je 0x441bb3
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x57e2d8]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x134]
mov dword [ebx + 0x28], ebp
pop ebp
mov dword [ebx + 0x24], eax
pop ebx
xor ecx, esp
call fcn.004dab24
add esp, 0x118
ret 0x18