joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b72a7
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 4], ecx
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov dword [esp + 8], ecx
mov word [ecx], ax
mov dword [esp + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [esp + 0x14], 1
lea eax, [ecx + 0x30]
mov byte [eax], 0
xor edx, edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
mov dword [esp + 8], eax
mov word [eax + 4], dx
mov byte [esp + 0x14], 2
mov dword [eax + 0x30], 7
mov dword [eax + 0x2c], edx
mov word [eax + 0x1c], dx
mov byte [esp + 0x14], 3
mov dword [eax + 0x48], 7
mov dword [eax + 0x44], edx
mov word [eax + 0x34], dx
mov byte [esp + 0x14], 4
mov dword [eax + 0x60], 7
mov dword [eax + 0x5c], edx
mov word [eax + 0x4c], dx
mov dword [esp + 0x14], 0xffffffff
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret
Function at 0x459070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b77c6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
cmp dword [esi + 0x30], 8
jb 0x4590b1
push dword [esi + 0x1c]
call fcn.0048e056
add esp, 4
mov dword [esi + 0x30], 7
xor eax, eax
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x18], 8
jb 0x4590de
push dword [esi + 4]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x471a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad309
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
sub esp, 8
mov dword [esp + 0x10], 0
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00412680
push eax
mov ecx, esi
call fcn.00404d30
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x472020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b0933
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00402030
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00402030
mov byte [esp + 0x18], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4745c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4baf51
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
push dword [esp + 0x48]
mov esi, dword [esp + 0x48]
push esi
call fcn.004746c0
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x4746a8
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push dword [esp + 0x48]
push eax
call fcn.004746c0
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x474679
cmp dword [esi + 0x14], 8
jb 0x47465e
push dword [esi]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004056b0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x474691
push dword [esp + 0x10]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x475c90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4dab78
push 0x495a70
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4df5dc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00407310
mov edx, esi
mov ecx, edi
call fcn.00475df0
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x475d25
test bl, bl
jne 0x475dcd
cmp edi, 0x1a
jne 0x475dcd
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x475d47
mov eax, dword [esi]
jmp 0x475d49
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x430], ax
push 0x40e
push eax
lea eax, [ebp - 0x42e]
push eax
call fcn.00492dc0
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp word [ebp - 0x430], 0
jne 0x475d91
xor ecx, ecx
jmp 0x475daf
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475da0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.004024f0
movzx ebx, bl
mov eax, 1
cmp dword [esi + 0x10], 0
cmovne ebx, eax
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048d894
mov esp, ebp
pop ebp
ret

Function at 0x4762d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4baf51
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
push dword [esp + 0x48]
mov esi, dword [esp + 0x48]
push esi
call fcn.004763d0
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x4763b8
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push dword [esp + 0x48]
push eax
call fcn.004763d0
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x476389
cmp dword [esi + 0x14], 8
jb 0x47636e
push dword [esi]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004056b0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x4763a1
push dword [esp + 0x10]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x47a6d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4bbb1c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov eax, dword [eax]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00402030
mov dword [esp + 0x14], 0
lea eax, [esi + 0x18]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0x1c], eax
mov word [eax], cx
mov byte [esp + 0x14], 1
mov dword [eax + 0x2c], 7
mov dword [eax + 0x28], ecx
mov word [eax + 0x18], cx
mov byte [esp + 0x14], 2
mov dword [eax + 0x44], 7
mov dword [eax + 0x40], ecx
mov word [eax + 0x30], cx
mov byte [esp + 0x14], 3
mov dword [eax + 0x5c], 7
mov dword [eax + 0x58], ecx
mov word [eax + 0x48], cx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x47c970
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.00492dc0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47c9cc
cmp dword [esp + 4], 6
jb 0x47c9cc
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0048d894
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.0048d894
add esp, 0x118
ret

Function at 0x47c9f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4bc04b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x154]
xorps xmm0, xmm0
mov edi, dword [esp + 0x150]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x148], 0
lea eax, [esp + 0x28]
push 0x110
push 0
push eax
mov dword [esp + 0x30], 0x114
call fcn.00492dc0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47cab4
cmp dword [esp + 0x28], 6
jb 0x47cab4
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0047cbc0
jmp 0x47cabd
lea ecx, [esp + 0x18]
call fcn.0047d1c0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jne 0x47cacd
xor bl, bl
jmp 0x47cb4b
mov ecx, eax
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
je 0x47cb45
mov ebx, esi
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x47cb3b
lea ecx, [ecx]
mov edx, esi
mov ecx, ebx
call fcn.0047d120
test al, al
jne 0x47cb07
add esi, 0x68
cmp esi, dword [edi + 4]
jne 0x47caf0
jmp 0x47cb3b
mov ecx, dword [esp + 0x14]
push esi
call fcn.0047d560
push dword [esp + 0x14]
mov edx, dword [edi + 4]
lea ecx, [esi + 0x68]
push esi
call fcn.0047db00
mov edx, dword [edi + 4]
add esp, 8
push dword [esp + 0x14]
lea ecx, [edx - 0x68]
push ecx
call fcn.0047dba0
add esp, 8
add dword [edi + 4], 0xffffff98
add ebx, 0x68
dec ebp
jne 0x47cae6
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov bl, 1
mov dword [esp + 0x148], 0xffffffff
test esi, esi
je 0x47cb89
push dword [esp + 0x14]
mov edx, eax
push ecx
mov ecx, esi
call fcn.0047dba0
push esi
call fcn.0048e056
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0048d894
add esp, 0x138
ret 8
Function at 0x47e450
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4bc411
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x50]
mov ecx, edi
push 1
push 0
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], 0x25
call fcn.004075a0
push 0xffffffffffffffff
push 0
push edi
cmp eax, 0xffffffff
jne 0x47e4e7
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
call fcn.00402030
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 1
jmp 0x47e5e8
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00402030
mov dword [esp + 0x48], 1
cmp dword [edi + 0x14], 8
jb 0x47e529
mov eax, dword [edi]
jmp 0x47e52b
mov eax, edi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test ebp, ebp
jne 0x47e556
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push edi
mov word [esi], ax
call fcn.00402030
jmp 0x47e5b5
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489b8f
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 8
jb 0x47e57c
mov edi, dword [edi]
lea eax, [ebp + 1]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x47e5a0
cmp eax, ebp
ja 0x47e5a0
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [esp + 0x20]
push ebx
call fcn.00403790
push ebx
call fcn.0048e70c
add esp, 4
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00404d30
mov dword [esp + 0x18], 1
mov byte [esp + 0x48], 0
cmp dword [esp + 0x34], 8
jb 0x47e5d5
push dword [esp + 0x20]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
mov dword [esp + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0048d894
add esp, 0x38
ret 8
Function at 0x47ed80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4baf51
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
push 0
push edi
push dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x44]
push ecx
push esi
call fcn.0047ee80
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0xc], 1
jne 0x47ee5e
push 0x100
push edi
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push ecx
push eax
call fcn.0047ee80
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x47ee2f
cmp dword [esi + 0x14], 8
jb 0x47ee14
push dword [esi]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004056b0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x47ee47
push dword [esp + 0x10]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x481a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bcada
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xac]
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0xa4], 1
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], eax
mov word [esp + 0x40], ax
call fcn.00402030
mov byte [esp + 0xa4], 2
cmp dword [esp + 0x44], 0
jne 0x481b1b
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00404d30
mov dword [esp + 0xc], 1
jmp 0x481c9d
push 9
xor eax, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [esp + 0x68]
push str.SOFTWARE_
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
call fcn.004024f0
mov byte [esp + 0xa4], 3
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.0040a1c0
push 5
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x14]
push str.Value
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004024f0
mov byte [esp + 0xa4], 4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [esp + 0x88]
push eax
call fcn.004762d0
mov byte [esp + 0xa4], 6
cmp dword [esp + 0x24], 8
jb 0x481be5
push dword [esp + 0x10]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
push eax
sub esp, 0x10
mov word [esp + 0x24], ax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x34], 0
push 1
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004800d0
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00404d30
mov dword [esp + 0xc], 1
mov byte [esp + 0xa4], 3
cmp dword [esp + 0x90], 8
jb 0x481c4e
push dword [esp + 0x7c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0xa4], 2
cmp dword [esp + 0x78], 8
jb 0x481c86
push dword [esp + 0x64]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov byte [esp + 0xa4], 1
cmp dword [esp + 0x48], 8
jb 0x481cb8
push dword [esp + 0x34]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov byte [esp + 0xa4], al
cmp dword [esp + 0x60], 8
jb 0x481ce5
push dword [esp + 0x4c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0048d894
add esp, 0xa0
ret 4
Function at 0x484960
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4bcfab
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [esp + 0x14], 0
call fcn.0048e0a6
add esp, 4
mov dword [esp + 0x10], eax
mov byte [eax], 0
lea eax, [esp + 0x14]
push 0x11c
push 0
push eax
call fcn.00492dc0
add esp, 0xc
mov dword [esp + 0x14], 0x11c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4849ee
cmp dword [esp + 0x18], 6
mov eax, dword [esp + 0x10]
setae cl
mov byte [eax], cl
mov dword [esp + 0x140], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x14]
call fcn.004048c0
test al, al
je 0x484a21
lea ecx, [esp + 0x10]
call fcn.00404170
test al, al
jne 0x484a21
xor bl, bl
jmp 0x484abf
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.00475c90
test al, al
jne 0x484a45
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x484a40
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.00475c90
test al, al
jne 0x484a6c
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x484a67
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.00475c90
test al, al
jne 0x484a93
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x484a8e
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.00475c90
test al, al
jne 0x484aba
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x484ab5
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00403840
mov al, bl
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0048d894
add esp, 0x134
ret
Function at 0x485d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd158
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0xc], eax
mov edi, ecx
mov ecx, eax
mov dword [esp + 0x20], 0
sub ecx, edi
mov eax, 0xdd67c8a7
imul ecx
xorps xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], 0
add edx, ecx
mov dword [esp + 0x14], 0
sar edx, 7
mov esi, edx
mov dword [esp + 0x18], 0
shr esi, 0x1f
add esi, edx
lea eax, [esi + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
mov ecx, edi
push dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push eax
push esi
call fcn.00485e40
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x10]
test esi, esi
je 0x485df0
cmp esi, dword [esp + 0x18]
je 0x485de7
mov edi, edi
mov ecx, esi
call fcn.00436a50
add esi, 0x94
cmp esi, dword [esp + 0x18]
jne 0x485dd0
mov esi, dword [esp + 0x10]
push esi
call fcn.0048e056
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0048d894
add esp, 0x28
ret