joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x459fec
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x459fec
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x459fd6
push eax
call ebp
test ax, ax
jl 0x459fe4
inc esi
add edi, 4
cmp esi, 6
jb 0x459fc8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00459ca0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45cb30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x45cb90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x45cb90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45cb90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x45cb90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x45cba0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x470c03
Capabilities:
Get graphical window text

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

Function at 0x4722f1
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 0x472333
call fcn.00477f7b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x472333
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47232a
xor eax, eax
jmp 0x47233b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00472341
pop edi
pop esi
pop ebx
ret 4

Function at 0x4784ab
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 0x4784d9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4784f7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00478411
jmp 0x4784f7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4784f7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00478411
test edi, edi
mov eax, edi
jne 0x4784e1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40de20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x7b92f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, edx
push esi
mov esi, ecx
push edi
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x10], esi
cmp edx, 6
jb 0x40df4b
cmp dword [ebx + 0x14], 0x10
jb 0x40de55
mov edi, dword [ebx]
jmp 0x40de57
mov edi, ebx
movzx ecx, word [edi + 4]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax*2 + 6]
cmp edx, eax
jb 0x40df9a
shl ecx, 4
add ecx, 6
push ecx
mov ecx, esi
call fcn.0040e3d0
push 6
push edi
mov ecx, esi
call fcn.00405390
movzx eax, word [edi + 4]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x18], edx
shl ecx, 4
add ecx, 6
mov dword [esp + 0xc], ecx
xor ecx, ecx
cmp cx, ax
je 0x40df35
nop dword [eax]
mov ecx, ebx
call fcn.00401570
movzx edx, dx
push 0x10
lea ecx, [edx*8]
sub ecx, edx
lea esi, [eax + ecx*2]
mov ecx, dword [esp + 0x14]
movzx eax, word [esi + 0xc]
mov word [esp + 0x26], ax
movzx eax, byte [esi + 8]
mov byte [esp + 0x22], al
movzx eax, byte [esi + 7]
mov byte [esp + 0x21], al
movzx eax, word [esi + 0xa]
mov word [esp + 0x24], ax
movzx eax, byte [esi + 9]
mov byte [esp + 0x23], al
mov eax, dword [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 6]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00405390
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
inc edx
add eax, dword [esi + 0xe]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
cmp dx, word [edi + 4]
jne 0x40deb0
mov ax, word [edi + 4]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], vtable.std::exception.0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Incorrect_resource_icon
xorps xmm0, xmm0
mov byte [esp + 0x18], 1
push eax
movq qword [esp + 0x28], xmm0
call fcn.004b096f
add esp, 8
mov dword [esp + 0x1c], vtable.pe_bliss::pe_exception.0
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0x29
push 0x7b773c
push eax
call fcn.004aebe4
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], vtable.std::exception.0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Incorrect_resource_icon
xorps xmm0, xmm0
mov byte [esp + 0x18], 1
push eax
movq qword [esp + 0x28], xmm0
call fcn.004b096f
add esp, 8
mov dword [esp + 0x1c], vtable.pe_bliss::pe_exception.0
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0x29
push 0x7b773c
push eax
call fcn.004aebe4
int3
Function at 0x418b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x418c2e
cmp byte [ebx + 0x3d], 0
je 0x418c2e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x418b44
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 8], ecx
cmp ecx, 0x10
movq qword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x1c]
push esi
push edi
mov byte [eax + 8], 0
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x1c]
cmovae edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x418bb0
sub eax, 1
je 0x418bb4
mov ecx, dword [ebp - 8]
sub eax, 2
je 0x418c07
xor bl, bl
jmp 0x418c09
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x20]
cmovae eax, edx
sub esi, eax
je 0x418be9
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004b9a78
mov ecx, dword [ebp - 8]
add esp, 0x10
cmp esi, eax
jne 0x418bac
cmp byte [ebx + 0x3d], 0
je 0x418c07
test esi, esi
jne 0x418b72
push esi
push 8
lea ecx, [ebp - 0x1c]
call fcn.00401940
jmp 0x418b6f
mov bl, 1
pop edi
pop esi
cmp ecx, 0x10
jb 0x418c1d
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00401a30
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret
Function at 0x41a830
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x2c], 0x6c0047
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x62006f
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x24], 0x6c0061
xor ecx, ecx
mov dword [esi], 0
push eax
mov byte [esi + 4], 0
mov dword [ebp - 0x20], 0x53005c
mov dword [ebp - 0x1c], 0x740065
mov dword [ebp - 0x18], 0x700075
mov dword [ebp - 0x14], 0x75004d
mov dword [ebp - 0x10], 0x650074
mov dword [ebp - 0xc], 0x5f0078
mov word [ebp - 8], cx
call fcn.0041a720
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41a8b0
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41a8d2
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, esi
pop edi
sete cl
mov byte [esi + 4], cl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret 4

Function at 0x41b390
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x43
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], 7
push eax
mov word [ebp - 0x1c], si
mov dword [ebp - 0x1a], 0x3a
mov dword [ebp - 0xc], 2
call ebx
cmp eax, 2
jne 0x41b3e0
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0040d060
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x41b422
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x7fffffff
ja 0x41b453
add ecx, ecx
cmp ecx, 0x1000
jb 0x41b419
test al, 0x1f
jne 0x41b453
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x41b453
sub eax, ecx
cmp eax, 4
jb 0x41b453
cmp eax, 0x23
ja 0x41b453
mov eax, ecx
push eax
call fcn.0044cbb0
add esp, 4
inc esi
cmp si, 0x5a
jbe 0x41b3b1
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
mov ecx, dword [ebp - 4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret
call fcn.004b8cb1
int3
Function at 0x41bfd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x54], 0x4f0053
mov dword [ebp - 0x50], 0x540046
mov dword [ebp - 0x4c], 0x410057
mov dword [ebp - 0x48], 0x450052
mov dword [ebp - 0x44], 0x4d005c
mov dword [ebp - 0x40], 0x630069
mov dword [ebp - 0x3c], 0x6f0072
mov dword [ebp - 0x38], 0x6f0073
mov dword [ebp - 0x34], 0x740066
mov dword [ebp - 0x30], 0x4e005c
mov dword [ebp - 0x2c], 0x740065
mov dword [ebp - 0x28], 0x6f0077
mov dword [ebp - 0x24], 0x6b0072
mov dword [ebp - 0x20], 0x46005c
mov dword [ebp - 0x1c], 0x6c0069
mov dword [ebp - 0x18], 0x530065
mov dword [ebp - 0x14], 0x720065
mov dword [ebp - 0x10], 0x690076
mov dword [ebp - 0xc], 0x650063
mov word [ebp - 8], ax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
cmp word [ebp - 0x54], ax
je 0x41c09f
lea eax, [ebp - 0x54]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c090
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.004098c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret
Function at 0x420da0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
push edi
lea edi, [esi + 0x10]
je 0x420f1b
cmp byte [0x7bc768], 0
je 0x420f1b
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004af70a
add esp, 8
test eax, eax
je 0x420e01
xor ecx, ecx
mov word [eax + 2], cx
push str.debug_message.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004bf8aa
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x420e22
mov esi, dword [esi]
mov eax, dword [edi]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], esi
push eax
call fcn.0042ffb0
add esp, 8
cmp dword [ebp - 0x214], 0
je 0x420efd
push 0x44
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.004af5b0
add esp, 0xc
mov dword [ebp - 0x280], 0x44
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x23c]
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x280]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x420ed6
push 0xffffffffffffffff
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x238]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x23c]
call esi
jmp 0x420efd
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
push 0x40010
cmovae eax, dword [ebp - 0x224]
push str.Fatal_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x210]
cmp eax, 8
jb 0x420f1b
inc eax
lea ecx, [ebp - 0x224]
push eax
push dword [ebp - 0x224]
call fcn.00409d10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00496e21
mov esp, ebp
pop ebp
ret
Function at 0x423d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test esi, esi
je 0x423dff
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x423e07
call fcn.00421550
cmp eax, 1
jne 0x423def
call fcn.00421030
cmp eax, 3
jg 0x423def
push 3
push 0x14
push 0x791550
lea ecx, [ebp - 0xb4]
call fcn.004203c0
add eax, 8
push str.Check_failed:_false.
push eax
call fcn.004169d0
add esp, 8
mov ebx, 1
test bl, 1
je 0x423dff
lea ecx, [ebp - 0xb4]
call fcn.004205f0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp + 0x10]
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x423e3f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x423e3f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x423e48
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4252d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x468], 0
cmp dword [eax + 0x14], 8
jb 0x4252fc
mov eax, dword [eax]
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x79164c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x425326
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x104
ja 0x4253bb
test eax, eax
je 0x4253bb
xor ecx, ecx
mov dword [ebp - 0x438], 7
push eax
lea eax, [ebp - 0x41c]
mov word [ebp - 0x44c], cx
push eax
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x43c], 0
call fcn.004098c0
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x434]
call fcn.00421f50
push eax
mov ecx, esi
call fcn.00421fc0
lea ecx, [ebp - 0x434]
call fcn.00409590
lea ecx, [ebp - 0x44c]
call fcn.00409590
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x434]
call fcn.004103c0
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x464]
call fcn.00421f50
push eax
mov ecx, esi
call fcn.00421fc0
lea ecx, [ebp - 0x464]
call fcn.00409590
mov eax, dword [ebp - 0x420]
cmp eax, 8
jb 0x425410
inc eax
lea ecx, [ebp - 0x434]
push eax
push dword [ebp - 0x434]
call fcn.00409d10
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00496e21
mov esp, ebp
pop ebp
ret
Function at 0x4256e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4256ee
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425702
shr eax, 4
and eax, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x425890
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x425940
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.004103c0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x258]
call fcn.00421f50
mov ecx, eax
call fcn.00422ff0
push eax
mov ecx, esi
call fcn.00421fc0
lea ecx, [ebp - 0x240]
call fcn.00409590
lea ecx, [ebp - 0x258]
call fcn.00409590
mov eax, dword [ebp - 0x214]
cmp eax, 8
jb 0x42592f
inc eax
lea ecx, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
call fcn.00409d10
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00496e21
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x425bce
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x425d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x425d86
mov eax, dword [eax]
push esi
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 8], 0
test esi, esi
je 0x425df7
lea ecx, [ebp + 8]
call fcn.004251a0
cmp esi, 0xffffffff
je 0x425dd1
mov dword [ebp + 8], esi
call fcn.00428e60
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.004328f0
add esp, 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x425df7
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x425df7
mov esi, dword [ebp - 4]
cmp esi, dword [ebp + 0x10]
je 0x425dfa
or esi, 0xffffffff
lea ecx, [ebp + 8]
call fcn.004251a0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425e90
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00422ed0
test al, al
jne 0x425eb1
mov ecx, dword [ebp + 0xc]
call fcn.00422ed0
test al, al
jne 0x425eb1
pop ebp
jmp fcn.00425a50
xor al, al
pop ebp
ret
Function at 0x428480
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x7bc7fc], 0
je 0x4284a9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret
push 0x18
call fcn.00496de0
add esp, 4
test eax, eax
je 0x4284c7
push 0
mov ecx, eax
call fcn.00427a60
mov dword [0x7bc7fc], eax
jmp 0x4284d1
mov dword [0x7bc7fc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004103c0
mov ecx, dword [0x7bc7fc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00428920
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x428504
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00409d10
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret

Function at 0x428920
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push ecx
push 3
push eax
mov dword [ebp - 0xc], 0
call fcn.00424a40
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x428999
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x20]
call fcn.00428660
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [ebp - 8]
pop edi
cmp eax, 8
jb 0x4289af
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00409d10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret 4
Function at 0x42c010
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push 0x791c40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c082
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x124], ebx
push ecx
push edi
call eax
test eax, eax
jne 0x42c077
mov eax, 2
jmp 0x42c082
xor eax, eax
cmp dword [ebp - 0x124], eax
setne al
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x11c]
push 0x118
push 0
mov dword [esi + 0x3c], 0xf
mov dword [esi + 0x38], ebx
mov byte [esi + 0x28], bl
push eax
mov dword [ebp - 0x120], 0x11c
call fcn.004af5b0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x114]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp edx, 5
jne 0x42c0f7
test ecx, ecx
jle 0x42c1da
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x42c1da
cmp edx, 6
jne 0x42c174
sub ecx, ebx
je 0x42c16c
sub ecx, 1
je 0x42c164
sub ecx, 1
je 0x42c15c
call fcn.00421550
cmp eax, 1
jne 0x42c154
call fcn.00421030
cmp eax, 3
jg 0x42c154
push str.version_number_.minor__3
push 3
push dword [esi + 8]
call fcn.0042c270
add esp, 0xc
test eax, eax
je 0x42c154
push eax
push 3
push 0x3f
push str.winwindows_version.cc
lea ecx, [ebp - 0x1f8]
call fcn.00420410
lea ecx, [ebp - 0x1f8]
call fcn.004205f0
mov dword [esi], 6
jmp 0x42c1da
mov dword [esi], 5
jmp 0x42c1da
mov dword [esi], 4
jmp 0x42c1da
mov dword [esi], 3
jmp 0x42c1da
cmp edx, 0xa
jne 0x42c181
mov dword [esi], 7
jmp 0x42c1da
cmp edx, 6
jle 0x42c1da
call fcn.00421550
cmp eax, 1
jne 0x42c1c4
call fcn.00421030
cmp eax, 3
jg 0x42c1c4
push 3
push 0x46
push str.winwindows_version.cc
lea ecx, [ebp - 0x1f8]
call fcn.004203c0
add eax, 8
push str.Check_failed:_false.
push eax
call fcn.004169d0
add esp, 8
mov ebx, 1
test bl, 1
je 0x42c1d4
lea ecx, [ebp - 0x1f8]
call fcn.004205f0
mov dword [esi], 8
movzx eax, word [ebp - 0xc]
xorps xmm0, xmm0
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0xa]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x148]
push eax
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x148]
test eax, eax
je 0x42c237
cmp eax, 6
je 0x42c22e
cmp eax, 9
jne 0x42c23e
mov dword [esi + 0x18], 1
jmp 0x42c23e
mov dword [esi + 0x18], 2
jmp 0x42c23e
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0x134]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x12c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret