joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
je 0x48e548
call fcn.0048f300
test al, al
je 0x48e548
push ebx
mov ecx, edi
call fcn.0048efb0
mov ebx, eax
mov eax, dword [ebp + 0xc]
test ebx, ebx
je 0x48e52d
cmp dword [esi + 0x10], 0
je 0x48e52d
lea ecx, [ebp - 4]
mov dword [ebp + 8], 0xb
push ecx
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 8
push eax
push 0
mov ecx, esi
call fcn.00489750
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48e52a
mov eax, dword [ebp + 8]
cmp eax, 0xb
je 0x48e512
cmp eax, 4
jne 0x48e52a
mov eax, dword [ebp - 4]
cmp eax, 8
je 0x48e51f
cmp eax, 4
jne 0x48e52a
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, edi
call fcn.0048ef70
push eax
call fcn.0048e430
add esp, 0xc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x48e600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1d98
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x640844]
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]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
test ebx, ebx
je 0x48e755
cmp dword [edi + 0x10], 0
je 0x48e755
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
push 0
call fcn.00489750
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48e71a
cmp dword [ebp - 0x78], 1
jne 0x48e71a
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x48e71a
add eax, 2
lea ecx, [ebp - 0x8c]
shr eax, 1
inc eax
push eax
call fcn.0048fca0
mov eax, dword [ebp - 0x74]
mov ecx, edi
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp - 0x78]
push eax
push 0
call fcn.00489750
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48e71c
cmp dword [ebp - 0x78], 1
jne 0x48e71c
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x74], eax
jne 0x48e71c
push esi
lea ecx, [ebp - 0x70]
call fcn.00489430
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 1
call fcn.0044e6d0
lea ecx, [ebp - 0x70]
call fcn.00419a70
mov bl, 1
jmp 0x48e71e
xor esi, esi
xor bl, bl
test esi, esi
je 0x48e751
mov ecx, dword [ebp - 0x84]
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x48e747
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x48e773
mov esi, edx
push ecx
push esi
call fcn.004ece5f
add esp, 8
mov al, bl
jmp 0x48e757
xor al, al
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.004ed0cc
mov esp, ebp
pop ebp
ret
call fcn.004f242f
int3
Function at 0x48ef30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048ec60

Function at 0x48f0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x640844]
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 edi, ecx
mov dword [ebp - 0x8e4], edi
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x8d8], ebx
mov esi, dword [ebx]
push dword [esi + 4]
push ebx
call fcn.0041be80
mov dword [esi + 4], esi
mov ecx, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
call fcn.0048f300
test al, al
je 0x48f2a4
mov eax, dword [edi + 0xc4]
dec eax
cmp eax, 8
ja case.default.0x48f11d
movzx eax, byte [eax + 0x48f2cc]
jmp dword [eax*4 + 0x48f2c4]
mov ebx, dword [edi + 0xcc]
jmp 0x48f136
mov ebx, dword [edi + 0xd0]
jmp 0x48f136
xor ebx, ebx
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.004ef230
mov edi, dword [ebp - 0x8d8]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 0x400
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x48f1d3
cmp dword [ebp - 0x8d4], eax
je 0x48f153
cmp word [ebp - 0x810], ax
je 0x48f153
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00489430
lea eax, [ebp - 0x870]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x8e0]
mov ecx, edi
push eax
call fcn.0048d4e0
lea ecx, [ebp - 0x870]
mov dword [ebp - 4], 0xffffffff
call fcn.00419a70
inc esi
jmp 0x48f153
mov edi, dword [ebp - 0x8e4]
mov eax, dword [edi + 0xc4]
dec eax
cmp eax, 8
ja case.0x48f1f0.1
movzx eax, byte [eax + 0x48f2e0]
jmp dword [eax*4 + 0x48f2d8]
mov edi, dword [edi + 0xd0]
test edi, edi
je case.0x48f1f0.1
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.004ef230
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8dc]
mov dword [ebp - 0x8dc], 0x400
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push edi
call ebx
test eax, eax
jne case.0x48f1f0.1
cmp dword [ebp - 0x8dc], eax
je 0x48f222
cmp word [ebp - 0x810], ax
je 0x48f222
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8d0]
call fcn.00489430
mov ecx, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x8e8]
mov dword [ebp - 4], 1
push eax
call fcn.0048d4e0
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 4], 0xffffffff
call fcn.00419a70
inc esi
jmp 0x48f222
mov al, 1
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.004ed0cc
mov esp, ebp
pop ebp
ret 4
Function at 0x48f124
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x640844]
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 edi, ecx
mov dword [ebp - 0x8e4], edi
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x8d8], ebx
mov esi, dword [ebx]
push dword [esi + 4]
push ebx
call fcn.0041be80
mov dword [esi + 4], esi
mov ecx, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
call fcn.0048f300
test al, al
je 0x48f2a4
mov eax, dword [edi + 0xc4]
dec eax
cmp eax, 8
ja case.default.0x48f11d
movzx eax, byte [eax + 0x48f2cc]
jmp dword [eax*4 + 0x48f2c4]
mov ebx, dword [edi + 0xcc]
jmp 0x48f136
mov ebx, dword [edi + 0xd0]
jmp 0x48f136
xor ebx, ebx
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.004ef230
mov edi, dword [ebp - 0x8d8]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 0x400
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x48f1d3
cmp dword [ebp - 0x8d4], eax
je 0x48f153
cmp word [ebp - 0x810], ax
je 0x48f153
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00489430
lea eax, [ebp - 0x870]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x8e0]
mov ecx, edi
push eax
call fcn.0048d4e0
lea ecx, [ebp - 0x870]
mov dword [ebp - 4], 0xffffffff
call fcn.00419a70
inc esi
jmp 0x48f153
mov edi, dword [ebp - 0x8e4]
mov eax, dword [edi + 0xc4]
dec eax
cmp eax, 8
ja case.0x48f1f0.1
movzx eax, byte [eax + 0x48f2e0]
jmp dword [eax*4 + 0x48f2d8]
mov edi, dword [edi + 0xd0]
test edi, edi
je case.0x48f1f0.1
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.004ef230
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8dc]
mov dword [ebp - 0x8dc], 0x400
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push edi
call ebx
test eax, eax
jne case.0x48f1f0.1
cmp dword [ebp - 0x8dc], eax
je 0x48f222
cmp word [ebp - 0x810], ax
je 0x48f222
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8d0]
call fcn.00489430
mov ecx, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x8e8]
mov dword [ebp - 4], 1
push eax
call fcn.0048d4e0
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 4], 0xffffffff
call fcn.00419a70
inc esi
jmp 0x48f222
mov al, 1
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.004ed0cc
mov esp, ebp
pop ebp
ret 4
Function at 0x48f12c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x640844]
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 edi, ecx
mov dword [ebp - 0x8e4], edi
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x8d8], ebx
mov esi, dword [ebx]
push dword [esi + 4]
push ebx
call fcn.0041be80
mov dword [esi + 4], esi
mov ecx, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
call fcn.0048f300
test al, al
je 0x48f2a4
mov eax, dword [edi + 0xc4]
dec eax
cmp eax, 8
ja case.default.0x48f11d
movzx eax, byte [eax + 0x48f2cc]
jmp dword [eax*4 + 0x48f2c4]
mov ebx, dword [edi + 0xcc]
jmp 0x48f136
mov ebx, dword [edi + 0xd0]
jmp 0x48f136
xor ebx, ebx
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.004ef230
mov edi, dword [ebp - 0x8d8]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 0x400
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x48f1d3
cmp dword [ebp - 0x8d4], eax
je 0x48f153
cmp word [ebp - 0x810], ax
je 0x48f153
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00489430
lea eax, [ebp - 0x870]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x8e0]
mov ecx, edi
push eax
call fcn.0048d4e0
lea ecx, [ebp - 0x870]
mov dword [ebp - 4], 0xffffffff
call fcn.00419a70
inc esi
jmp 0x48f153
mov edi, dword [ebp - 0x8e4]
mov eax, dword [edi + 0xc4]
dec eax
cmp eax, 8
ja case.0x48f1f0.1
movzx eax, byte [eax + 0x48f2e0]
jmp dword [eax*4 + 0x48f2d8]
mov edi, dword [edi + 0xd0]
test edi, edi
je case.0x48f1f0.1
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.004ef230
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8dc]
mov dword [ebp - 0x8dc], 0x400
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push edi
call ebx
test eax, eax
jne case.0x48f1f0.1
cmp dword [ebp - 0x8dc], eax
je 0x48f222
cmp word [ebp - 0x810], ax
je 0x48f222
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8d0]
call fcn.00489430
mov ecx, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x8e8]
mov dword [ebp - 4], 1
push eax
call fcn.0048d4e0
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 4], 0xffffffff
call fcn.00419a70
inc esi
jmp 0x48f222
mov al, 1
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.004ed0cc
mov esp, ebp
pop ebp
ret 4

Function at 0x48f2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048f0a0
Function at 0x490950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], edi
call fcn.004ef230
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push 0
push 0x5e1ad8
call fcn.00489750
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00489430
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 8

Function at 0x490d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2256
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x640844]
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, ecx
cmp byte [ebx + 0x48], 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
jne 0x490e8c
lea eax, [ebp - 0xd8]
mov byte [ebx + 0x48], 1
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xdc], 0x490ed0
mov dword [ebp - 0xd8], eax
call fcn.00489120
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.00489120
mov dword [ebp - 0x14], ebx
push 0xcc
mov dword [ebp - 4], 1
call fcn.004ece2f
mov edi, eax
add esp, 4
mov dword [ebp - 0xe4], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x490e25
mov eax, dword [ebp - 0xdc]
lea esi, [edi + 4]
mov dword [edi], eax
lea ecx, [esi + 4]
mov dword [ebp - 0xe0], esi
mov eax, dword [ebp - 0xd8]
mov dword [esi], eax
lea eax, [ebp - 0xd4]
push eax
mov dword [ebp - 0xe8], ecx
call fcn.00489120
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
push eax
mov dword [ebp - 0xe8], ecx
call fcn.00489120
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc4], eax
jmp 0x490e27
xor edi, edi
mov dword [ebp - 0xe8], edi
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 4
push eax
push 0
push edi
push 0x4909d0
push 0
push 0
call fcn.004f8f45
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0xf0], ecx
test ecx, ecx
je 0x490eb1
cmp dword [ebx + 0x14], 0
jne 0x490eac
mov eax, dword [ebp - 0xec]
xorps xmm0, xmm0
mov dword [ebx + 0x10], ecx
lea ecx, [ebp - 0x74]
movlpd qword [ebp - 0xf0], xmm0
mov dword [ebx + 0x14], eax
call fcn.00419a70
lea ecx, [ebp - 0xd4]
call fcn.00419a70
mov al, 1
jmp 0x490e8e
xor al, al
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.004ed0cc
mov esp, ebp
pop ebp
ret 0xc
call fcn.004f8dad
push 6
mov dword [ebp - 0xec], 0
call fcn.004d835f
int3
Function at 0x49e950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc300
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x640844]
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 - 0x218]
push 0x208
push 0
push eax
call fcn.004ef230
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x49e9f6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
call fcn.00489430
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x49e9d6
mov eax, dword [esi]
mov byte [eax], 0
mov ecx, esi
lea eax, [ebp - 0x278]
push eax
call fcn.00489ba0
lea ecx, [ebp - 0x278]
call fcn.00419a70
mov al, 1
jmp 0x49e9f8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4

Function at 0x49ec10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push esi
push 0x110
push 0
mov ax, word [ecx*8 + 0x640796]
shl ax, 0xa
or ax, word [ecx*8 + 0x640794]
movzx esi, ax
lea eax, [ebp - 0x114]
push eax
call fcn.004ef230
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
push esi
jb 0x49ec8c
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
Function at 0x49ed70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x11c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x118
push 0
push eax
mov dword [ebp - 0x240], esi
call fcn.004ef230
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x49eddb
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x114]
mov dword [edi], ecx
mov dword [ebx], edx
mov dword [esi], eax
cmp ecx, 6
jb 0x49ee65
cmp edx, 2
jb 0x49ee65
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x49ee65
push 0x118
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004ef230
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
push eax
call esi
test eax, eax
jne 0x49ee65
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x240]
mov dword [edi], eax
mov eax, dword [ebp - 0x234]
mov dword [ebx], eax
mov eax, dword [ebp - 0x230]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c8c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d76fd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x640844]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004c8dc0
cmp byte [esi + 0x86], 0
jne 0x4c8d0b
push 0x10
call fcn.004ece2f
add esp, 4
test eax, eax
je 0x4c8cc6
mov dword [eax], 0x4c8f50
mov dword [eax + 4], 0
mov dword [eax + 8], esi
jmp 0x4c8cc8
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x452c00
push 0
push 0
call fcn.004f8f45
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4c8d1d
cmp dword [esi + 0x94], 0
jne 0x4c8d2b
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.004d835f
call fcn.004f8dad
int3

Function at 0x4cb8c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d76fd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x640844]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004cbdb0
mov ecx, esi
call fcn.004cba80
cmp byte [esi + 0x10e], 0
je 0x4cb912
mov eax, 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x10
call fcn.004ece2f
add esp, 4
test eax, eax
je 0x4cb932
mov dword [eax], 0x4ce620
mov dword [eax + 4], 0
mov dword [eax + 8], esi
jmp 0x4cb934
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x452c00
push 0
push 0
call fcn.004f8f45
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4cb989
cmp dword [esi + 0x114], 0
jne 0x4cb997
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x114], eax
xor eax, eax
mov dword [esi + 0x110], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.004d835f
call fcn.004f8dad
int3
Function at 0x4d3410
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x800
push 0
push eax
call fcn.004ef230
push 0x5e5504
push edi
call fcn.004faa21
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4d3486
push edi
push str.cant_open_file:
push 0x648198
call fcn.00451910
add esp, 8
push eax
call fcn.004cf500
push eax
call fcn.004cf870
add esp, 0xc
lea eax, [esi + 2]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
push esi
push 0x800
lea eax, [ebp - 0x804]
push 1
push eax
call fcn.004fadcb
add esp, 0x10
mov dword [ebp - 0x808], eax
test eax, eax
jne 0x4d34e6
push edi
push str.cant_read_file:
push 0x648198
call fcn.00451910
add esp, 8
push eax
call fcn.004cf500
push eax
call fcn.004cf870
push esi
call fcn.004f7b75
add esp, 0x10
mov eax, 3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push esi
call fcn.004f83fd
add esp, 0xc
test eax, eax
je 0x4d3536
push edi
push str.cant_seek_file:
push 0x648198
call fcn.00451910
add esp, 8
push eax
call fcn.004cf500
push eax
call fcn.004cf870
push esi
call fcn.004f7b75
add esp, 0x10
mov eax, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
movaps xmm1, xmmword [0x5e5880]
xor eax, eax
nop
movups xmm0, xmmword [ebp + eax*4 - 0x804]
pxor xmm0, xmm1
movups xmmword [ebp + eax*4 - 0x804], xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x7f4]
pxor xmm0, xmm1
movups xmmword [ebp + eax*4 - 0x7f4], xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x7e4]
pxor xmm0, xmm1
movups xmmword [ebp + eax*4 - 0x7e4], xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x7d4]
pxor xmm0, xmm1
movups xmmword [ebp + eax*4 - 0x7d4], xmm0
add eax, 0x10
cmp eax, 0x200
jb 0x4d3540
push esi
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push 1
push eax
call fcn.004f8637
add esp, 0x10
mov dword [ebp - 0x80c], eax
cmp eax, dword [ebp - 0x808]
je 0x4d3646
push edi
push str.cant_write_file:
push 0x648198
call fcn.00451910
add esp, 8
push eax
call fcn.004cf500
push eax
call fcn.004cf870
add esp, 0xc
push dword [ebp - 0x80c]
push str._was_updated_just:
push dword [ebp - 0x808]
push str.need_to_update_first:
push 0x648198
call fcn.00451910
add esp, 8
mov ecx, eax
call fcn.004cfe30
push eax
call fcn.00451910
add esp, 8
mov ecx, eax
call fcn.004cfe30
push eax
call fcn.004cf870
push esi
call fcn.004f7b75
add esp, 8
mov eax, 5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.004f7b75
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4