joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d3ac0
Capabilities:
Get graphical window text

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

Function at 0x4d51b5
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 0x4d51f7
call fcn.004dae76
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d51f7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d51ee
xor eax, eax
jmp 0x4d51ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d5205
pop edi
pop esi
pop ebx
ret 4

Function at 0x4db3a6
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 0x4db3d4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4db3f2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004db30c
jmp 0x4db3f2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db3f2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004db30c
test edi, edi
mov eax, edi
jne 0x4db3dc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x112314c6
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3d9d0bad
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4012e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448e70
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x462078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x28], 0
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x30]
mov dword [esi], vtable.lite_installer::CustomButtonWithBackground.0
call fcn.00405cf0
mov eax, dword [ebp + 0x24]
lea ecx, [ebp + 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x44], eax
call fcn.00405f40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x403fd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449150
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x462078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x40405b
mov esi, dword [ebx + 4]
jmp 0x404061
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x404073
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4040ba
cmp esi, eax
jne 0x404067
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4040a3
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x4040f5
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x404117
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00426885
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x4040fd
mov dword [ecx], edi
jmp 0x404117
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x404117
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00404940
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405280
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, ecx
jne 0x4052df
mov edx, ecx
jmp 0x4052e4
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x405332
mov edx, dword [eax + 8]
cmp edx, dword [esi]
je 0x4052f3
mov eax, dword [eax]
jmp 0x4052d7
mov esi, dword [esi]
mov edx, eax
mov dword [ebp + 0xc], esi
nop word [eax + eax]
cmp ebx, ecx
jne 0x405308
mov esi, ecx
jmp 0x40530d
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x40531d
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x40531d
mov eax, dword [eax]
jmp 0x405300
cmp edx, eax
je 0x405332
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebp
ret 8

Function at 0x405350
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4053c1
cmp dword [ecx], edi
jne 0x4053b9
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4053c9
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4053c9
cmp dword [ecx], edi
jne 0x4053cc
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00426885
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4057a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x4057fb
mov ecx, esi
jmp 0x405800
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x405825
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x40580f
mov eax, dword [eax]
jmp 0x4057f3
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x406150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x406178
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4061bb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4061bb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4061c4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call fcn.00428f50
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4066b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449388
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x462078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
lea ecx, [ebp - 0x1c]
push eax
call fcn.00405bd0
mov esi, dword [ebp - 0x18]
mov eax, esi
mov ebx, dword [ebp - 0x1c]
sub eax, ebx
sar eax, 1
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esi - 2]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
cmp ebx, eax
je 0x406739
sub eax, ebx
mov ecx, esi
sar eax, 1
push eax
push ebx
call fcn.00405110
test ebx, ebx
je 0x40674e
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00401d50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ace0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449908
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x462078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push 3
lea eax, [ebp - 0x18]
push eax
push 4
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
je 0x40ad41
xor al, al
jmp 0x40adf3
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [ebp - 0x18], ax
je 0x40ad70
lea eax, [ebp - 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ad61
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405110
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
lea edi, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp esi, 8
mov dword [ebp - 4], 0
cmovae ecx, edx
mov dword [ebp - 0x34], 0x42c77b
cmovae edi, edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x30]
cmovae ecx, edx
lea edx, [ebp - 0x34]
push edx
push edi
push eax
push ecx
call fcn.00409370
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov edi, dword [ebp - 0x30]
cmp esi, 8
push 2
push 0x44cc88
push dword [ebp - 0x20]
cmovae eax, edi
push eax
call fcn.00407a70
add esp, 0x20
test eax, eax
sete bl
cmp esi, 8
jb 0x40adf1
lea ecx, [esi + 1]
push ecx
push edi
lea ecx, [ebp - 0x30]
call fcn.00401d50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426898
mov esp, ebp
pop ebp
ret
Function at 0x4112b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449e61
mov eax, dword fs:[0]
push eax
mov eax, 0x10088
call fcn.00426e80
mov eax, dword [0x462078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10028]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push eax
call fcn.00423f20
add esp, 4
push 1
push 0x44dc30
lea ecx, [ebp - 0x10028]
mov dword [ebp - 4], 0
call fcn.00404fe0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x10028]
call fcn.00404ed0
test edi, edi
je 0x4113d7
push 6
push 0x44dc34
lea ecx, [ebp - 0x10028]
call fcn.00404fe0
lea eax, [ebp - 0x10040]
push edi
push eax
call fcn.00424640
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x10028]
mov byte [ebp - 4], 1
call fcn.00404ed0
mov eax, dword [ebp - 0x1002c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x411383
inc eax
lea ecx, [ebp - 0x10040]
push eax
push dword [ebp - 0x10040]
call fcn.00401d50
push 6
push str.___st
lea ecx, [ebp - 0x10028]
call fcn.00404fe0
lea eax, [ebp - 0x10040]
push ebx
push eax
call fcn.00424640
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x10028]
mov byte [ebp - 4], 2
call fcn.00404ed0
mov eax, dword [ebp - 0x1002c]
cmp eax, 8
jb 0x4113d7
inc eax
lea ecx, [ebp - 0x10040]
push eax
push dword [ebp - 0x10040]
call fcn.00401d50
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
push eax
lea eax, [ebp - 0x10010]
push 0x8000
push eax
call fcn.00436535
push 0x40
lea eax, [ebp - 0x10090]
mov dword [ebp - 0x10094], 0x44
push 0
push eax
call fcn.00429af0
add esp, 0x18
lea eax, [ebp - 0x10050]
xorps xmm0, xmm0
movups xmmword [ebp - 0x10050], xmm0
push eax
lea eax, [ebp - 0x10094]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x10010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x411469
push dword [ebp - 0x1004c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10050]
call esi
jmp 0x411483
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Clone_Error:_0x_08X_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
mov eax, dword [ebp - 0x10014]
cmp eax, 8
jb 0x4114a1
inc eax
lea ecx, [ebp - 0x10028]
push eax
push dword [ebp - 0x10028]
call fcn.00401d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426898
mov esp, ebp
pop ebp
ret
Function at 0x4114c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00403ae0
lea eax, [ebp - 0x10]
push eax
call fcn.00412790
mov eax, dword [ebp - 0xc]
add esp, 0x1c
sub eax, dword [ebp - 0x10]
je 0x411544
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x41150c
mov eax, dword [esi]
jmp 0x41150e
mov eax, esi
push 0x44da48
push eax
call fcn.0042d622
add esp, 8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x411559
cmp dword [esi + 0x14], 8
jb 0x411530
mov esi, dword [esi]
push esi
push str.Cant_create_file__s_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
lea ecx, [ebp - 0x10]
mov esi, 0x80004005
call fcn.0041a710
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
push edi
push eax
push 1
push ecx
call fcn.0043166d
add esp, 0x10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.00430bd2
mov ecx, dword [ebp - 0xc]
add esp, 4
sub ecx, dword [ebp - 0x10]
cmp esi, ecx
je 0x4115a0
push ecx
push esi
push str.Write_error:__d_bytes_have_been_written_instead_of__d_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0x10
jmp 0x411544
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.0041a710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412a90
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a128
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x462078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push 3
lea eax, [ebp - 0x18]
push eax
push 4
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
je 0x412b0a
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
jmp 0x412bc4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [ebp - 0x18], ax
je 0x412b3f
lea eax, [ebp - 0x18]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412b30
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405110
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
lea edi, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp esi, 8
mov dword [ebp - 4], 0
cmovae ecx, edx
mov dword [ebp - 0x38], 0x42c77b
cmovae edi, edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x30]
cmovae ecx, edx
lea edx, [ebp - 0x38]
push edx
push edi
push eax
push ecx
call fcn.00409370
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
add esp, 0x10
lea edx, [ebp - 0x31]
cmp dword [ebp - 0x1c], 8
cmovae ecx, dword [ebp - 0x30]
push edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push eax
push ecx
mov ecx, ebx
call fcn.0040c0e0
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x412bc4
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00401d50
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426898
mov esp, ebp
pop ebp
ret
Function at 0x413180
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a262
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x462078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
call fcn.00429af0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x413214
mov eax, dword [esi]
jmp 0x413216
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x21c], cx
je 0x41323f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413230
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00405110
push 0x20
push str.7F4987FB1A6E43d69E3E94B29EB75926
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
call fcn.00404fe0
cmp dword [esi + 0x14], 8
jb 0x413277
mov eax, dword [esi]
jmp 0x413279
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426898
mov esp, ebp
pop ebp
ret
Function at 0x414860
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00429af0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x34], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x30], str.open
jb 0x41489d
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4148ab
mov eax, dword [eax]
push esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
test esi, esi
je 0x4148e4
push str.ShellExecuteEx_Ok_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 8
jmp 0x4148f8
push eax
push str.Error:_0x_X_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp - 4]
je 0x414978
test eax, eax
je 0x414978
push str.Waiting_for_installing..._n
push dword [0x4636d8]
call fcn.0041f170
push dword [0x4636d8]
call fcn.00430de0
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x414950
push dword [ebp + 0x10]
push str.Exit_code:_0x_X_n
jmp 0x414958
call edi
push eax
push str.Cant_get_exit_code._Error:_0x_X_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
jmp 0x41499d
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x41499d
call edi
push eax
push str.SetHandleInformation_error:_0x_08X_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
push dword [0x4636d8]
call fcn.00430de0
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret