joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10100ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, dword [0x101bd00c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x238]
push ebp
mov ebp, dword [esp + 0x244]
push esi
mov esi, dword [esp + 0x244]
test ebx, ebx
je 0x10100c2b
mov eax, dword [ecx]
test eax, eax
je 0x10100c2b
push edi
push str.RegQueryValueExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10100c2a
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
call fcn.10124cd0
add esp, 0xc
mov dword [esp + 0x10], 0x208
cmp dword [esi + 0x14], 8
jb 0x10100b59
mov esi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push esi
push ebx
call edi
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10100b72
sub eax, edx
lea ecx, [ebp + 0x38]
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10003600
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.Profile
push ebx
call edi
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10100bb4
sub ecx, edx
lea eax, [esp + 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.10003600
xor eax, eax
mov dword [esp + 0x14], 0x65004b
mov word [esp + 0x30], ax
lea eax, [esp + 0x10]
push eax
push ebp
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x620079
push eax
push ebx
mov dword [esp + 0x34], 0x61006f
mov dword [esp + 0x38], 0x640072
mov dword [esp + 0x3c], 0x61004c
mov dword [esp + 0x40], 0x6f0079
mov dword [esp + 0x44], 0x740075
mov dword [esp + 0x28], 4
call edi
pop edi
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010cbf1
add esp, 0x230
ret 0xc
Function at 0x10101d70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171368
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x101bd00c]
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
push 1
mov dword [ebp - 0x14], 0
call fcn.1010cc02
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.10124cd0
add esp, 0x10
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10101df4
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.1007d880
test al, al
je 0x10101e21
lea ecx, [ebp - 0x14]
call fcn.1007c8b0
test al, al
jne 0x10101e21
xor bl, bl
jmp 0x10101ebf
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.100870b0
test al, al
jne 0x10101e45
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10101e40
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.100870b0
test al, al
jne 0x10101e6c
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10101e67
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.100870b0
test al, al
jne 0x10101e93
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10101e8e
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.100870b0
test al, al
jne 0x10101eba
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10101eb5
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1007bfe0
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.1010cbf1
mov esp, ebp
pop ebp
ret
Function at 0x10101f70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101713b1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101bd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edx, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x10101fb4
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10101fce
mov eax, edx
nop dword [eax]
cmp word [eax], 0x25
je 0x10102003
add eax, 2
sub ecx, 1
jne 0x10101fc0
push esi
mov ecx, edi
call fcn.10026aa0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010cbf1
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x10101fce
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x10101fce
push esi
lea ecx, [ebp - 0x28]
call fcn.10026aa0
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1010202a
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x101020a2
push esi
mov ecx, edi
call fcn.10026aa0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10102089
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010207f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102162
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x10101fe4
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010d01c
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x14], 8
jb 0x101020c9
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x10102109
cmp eax, dword [ebp - 0x34]
ja 0x10102109
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101020f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003600
push esi
call fcn.1010d017
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x10101fe4
call fcn.1012cb39
int3
Function at 0x1010a5a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171eec
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101bd00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.10003590
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10003590
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10003590
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10003590
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10003590
push 0x88
push ebx
call fcn.1010cf95
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1010f77f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1013fe57
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1013fcd6

Function at 0x10142223
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10141ee3
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x70260ff8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x105a3af9
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x45bb93
Capabilities:
Encode data using xor

Disassembly:
movsb byte es:[edi], byte [esi]
push ebp
mov eax, dword [0x76ad6fa0]
neg esi
sub byte [ebx + edi*8], cl
outsb dx, byte [esi]
jbe 0x45bb57

Function at 0x47f03b
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0x61
xchg esp, eax
and eax, 0x2340a030
push eax
xchg bl, dh
sbb byte [edx], dl
xor ah, 0x23
mov al, 2
pop edx
jne 0x47f033
cmc
sbb eax, 0x69e4a697
adc eax, 0xfccea7d2
xchg esi, eax
cmp al, 0x99
adc edi, dword [ebx]
xchg ecx, eax
xchg ecx, eax
mov dword [edi], esi
pop ds
invalid

Function at 0x4b9491
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c13d8
cmp edx, dword [eax]
je 0x4b94b3
add eax, 8
inc ecx
cmp eax, 0x4c1468
jl 0x4b94a4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c13d8]
jne 0x4b95e1
mov eax, dword [0x4c5d5c]
cmp eax, 1
je 0x4b95bb
test eax, eax
jne 0x4b94e4
cmp dword [0x4c1300], 1
je 0x4b95bb
cmp edx, 0xfc
je 0x4b95e1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b951b
lea eax, [ebp - 0x1a4]
push 0x4be960
push eax
call fcn.004b9e70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba300
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b955e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba300
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be95c
push edi
call fcn.004bc1d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4be940
push eax
call fcn.004b9e70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9e80
lea eax, [ebp - 0xa0]
push 0x4be93c
push eax
call fcn.004b9e80
push dword [esi + 0x4c13dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9e80
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4be914
push eax
call fcn.004bc144
add esp, 0x2c
pop edi
jmp 0x4b95e1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c13dc]
push 0
push eax
push dword [esi]
call fcn.004ba300
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x697050fe
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..reloc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x7b693907
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100d4070
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x100d415c
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x100d40ee
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x10100fd8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x10100fd8]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x10100fd8]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x10100fd8]
mov byte [eax + 3], cl
jmp 0x100d413f
shl edx, 0x10
cmp esi, 2
jne 0x100d40fe
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x10100fd8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x10100fd8]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x100d412b
lea ecx, [esi + 0x3c]
jmp 0x100d4138
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + 0x10100fd8]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x100d4090
pop edi
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
ret
mov byte [eax], bl
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x404d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4769c5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call dword [0x47ce1c]
xor eax, eax
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
call dword [0x47ce28]
lea ecx, [esp + 0x1c]
push ecx
push 0x47e154
lea edx, [esp + 0x54]
mov byte [esp + 0x4c], 1
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0xffffffff
call dword [0x47c858]
mov byte [esp + 0x44], 2
mov edi, dword [esi + 0x10]
cmp dword [esi + 0xc], edi
jbe 0x404e05
call dword [0x47c2fc]
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x404e15
call dword [0x47c2fc]
mov eax, dword [esi]
push edi
push ebp
push ebx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00412610
mov ecx, dword [esp + 0x4c]
cmp dword [ecx - 0xc], 0
je 0x404f10
test byte [esi + 0x38], 1
jne 0x404e43
lea ecx, [esp + 0x4c]
call dword [0x47c860]
push 0
push 0x2a
lea ecx, [esp + 0x54]
call dword [0x47c85c]
cmp eax, 0xffffffff
jne 0x404eb0
test byte [esi + 0x38], 2
jne 0x404eb0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
mov ebx, 0x47e148
call fcn.00411570
add esp, 4
push eax
lea eax, [esp + 0x24]
push eax
mov edi, ebx
mov byte [esp + 0x4c], 3
call fcn.00403020
add esp, 8
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 4
call dword [0x47c994]
lea ecx, [esp + 0x20]
call dword [0x47ce24]
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call dword [0x47ce24]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call dword [0x47c994]
lea ebx, [esp + 0x30]
mov edi, esi
call fcn.004119f0
lea edx, [esp + 0x1c]
push edx
push 0x47e154
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call dword [0x47c858]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 5
call dword [0x47c994]
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 2
call dword [0x47ce24]
mov ecx, dword [esp + 0x4c]
cmp dword [ecx - 0xc], 0
jne 0x404e33
lea ecx, [esp + 0x4c]
call dword [0x47ce24]
lea ecx, [esp + 0x30]
call dword [0x47ce24]
lea ecx, [esp + 0x18]
call dword [0x47ce24]
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
Function at 0x40f130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477a19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00472b88
mov ecx, dword [esi - 0x34]
push 0
push 0
push 0x31
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00472b9a
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, edi
call eax
mov edx, dword [esi - 0x34]
lea ecx, [esp + 0x14]
push ecx
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call dword [0x47ce28]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi - 0x54]
mov dword [esp + 0x4c], 0
call fcn.00472b8e
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x24]
lea ecx, [esi + 0x2c]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push ebx
mov ecx, edi
call eax
mov ecx, dword [edi + 4]
mov edx, dword [esi - 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x10]
call dword [0x47ce24]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x410b80
Capabilities:
Get disk information
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x477c19
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov ebx, edx
mov dword [ebx + 0x314], eax
mov dword [ebx + 0x318], ecx
call fcn.00410d00
cmp dword [ebx + 0x314], 0
je 0x410ccf
push 0x415
mov ecx, ebx
call fcn.00472876
test eax, eax
je 0x410ccf
lea ecx, [esp + 0x10]
call dword [0x47ce28]
mov dword [esp + 0x3c], 0
mov edi, dword [ebx + 0x318]
mov eax, dword [ebx + 0x314]
lea edx, [esp + 0x10]
push edx
call fcn.004277e0
test eax, eax
je 0x410cc5
mov edx, dword [esp + 0x10]
xor eax, eax
push 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
push eax
push eax
push edx
mov word [esp + 0x34], ax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov word [esp + 0x4a], ax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x410c83
lea eax, [esp + 0x14]
push str.NTFS
push eax
call dword [0x47c42c]
add esp, 8
mov ecx, ebx
test eax, eax
jne 0x410c70
push 1
jmp 0x410c72
push 0
push 0x415
call fcn.00472876
mov ecx, eax
call fcn.00472be2
push 0xc
lea ecx, [esp + 0x18]
push ecx
push str._HOMEDRIVE_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x410cc5
push 0
lea ecx, [esp + 0x14]
call dword [0x47c848]
mov ecx, ebx
cmp word [esp + 0x14], ax
jne 0x410cb2
push 1
jmp 0x410cb4
push 0
push 0x416
call fcn.00472876
mov ecx, eax
call fcn.00472be2
lea ecx, [esp + 0x10]
call dword [0x47ce24]
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004734e6
add esp, 0x34
ret 4
Function at 0x419ae0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x19c
fldz
mov eax, dword [0x497f10]
push esi
fstp qword [esp + 4]
push edi
test eax, eax
jne 0x419b22
push str.NtQuerySystemInformation
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x497f10], eax
test eax, eax
jne 0x419b22
xor eax, eax
pop edi
pop esi
add esp, 0x19c
ret
push 0
push 0x2c
lea ecx, [esp + 0x44]
push ecx
push 0
call eax
test eax, eax
jne 0x419b17
push eax
push 0x20
lea edx, [esp + 0x20]
push edx
push 3
call dword [0x497f10]
test eax, eax
jne 0x419b17
push eax
push 0x138
lea eax, [esp + 0x70]
push eax
push 2
call dword [0x497f10]
test eax, eax
jne 0x419b17
mov ecx, dword [0x497f18]
mov edx, ecx
or edx, dword [0x497f1c]
je 0x419c36
fild dword [esp + 0x24]
mov eax, dword [esp + 0x20]
fld qword [0x4885e0]
fmul st(1), st(0)
fild dword [esp + 0x20]
test eax, eax
jge 0x419b90
fadd qword [0x4885e0]
mov edx, dword [0x497f20]
faddp st(2)
fild dword [0x497f24]
fmul st(1)
fild dword [0x497f20]
test edx, edx
jge 0x419bb0
fadd qword [0x4885e0]
faddp st(1)
fsubp st(2)
fldz
fld st(0)
fucomp st(3)
fnstsw ax
test ah, 0x44
jnp 0x419bff
mov eax, dword [esp + 0x68]
fstp st(0)
fild dword [esp + 0x6c]
fmul st(1)
fild dword [esp + 0x68]
test eax, eax
jge 0x419bdb
fadd qword [0x4885e0]
faddp st(1)
mov dword [esp + 8], ecx
fild dword [0x497f1c]
fmulp st(2)
fild dword [esp + 8]
test ecx, ecx
jge 0x419bf7
fadd qword [0x4885e0]
faddp st(2)
fsubrp st(1)
fdivrp st(1)
jmp 0x419c03
fstp st(1)
fstp st(1)
mov al, byte [esp + 0x64]
test al, al
je 0x419c2a
fld qword [0x4885d8]
movzx ecx, al
fmul st(1), st(0)
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivp st(2)
fsubrp st(1)
fadd qword [0x4885d0]
jmp 0x419c32
fstp st(0)
fld qword [0x4885d8]
fstp qword [esp + 8]
mov edx, dword [0x497f28]
or edx, dword [0x497f2c]
jne 0x419c6b
push 0x497f28
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x497f30
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fld qword [esp + 8]
pop edi
pop esi
add esp, 0x19c
jmp fcn.00474560
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x10]
mov eax, dword [0x497f2c]
mov edi, dword [esp + 0x14]
push eax
mov eax, dword [0x497f28]
mov ecx, esi
sub ecx, dword [0x497f30]
mov edx, edi
sbb edx, dword [0x497f34]
push eax
push edx
push ecx
call fcn.00474310
or eax, edx
je 0x419cd8
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov dword [0x497f18], ecx
mov ecx, dword [esp + 0x24]
mov dword [0x497f1c], edx
mov dword [0x497f20], eax
mov dword [0x497f24], ecx
mov dword [0x497f30], esi
mov dword [0x497f34], edi
fld qword [esp + 8]
pop edi
pop esi
add esp, 0x19c
jmp fcn.00474560