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

Disassembly:
push 0xffffffffffffffff
push 0x424e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
mov eax, dword [0x430b50]
push edi
mov ecx, 0x430b50
mov dword [esp + 0xc], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov edx, dword [0x430b50]
mov ecx, 0x430b50
mov dword [esp + 0x18], ebp
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov edx, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov edx, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 5
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov edx, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 6
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 7
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x34], eax
mov edx, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 8
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 9
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], 0xa
mov edx, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x18], 0xb
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x58], eax
lea edi, [esi + 0x74]
mov ecx, edi
mov byte [esp + 0x18], 0xc
call fcn.00403010
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x80]
mov ecx, edi
mov byte [esp + 0x18], 0xd
call fcn.00403010
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0xa4]
mov ecx, edi
mov byte [esp + 0x18], 0xe
call fcn.00403010
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0xc8]
mov ecx, edi
mov byte [esp + 0x18], 0xf
call fcn.00403220
mov dword [edi + 4], eax
mov byte [eax + 0x35], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
push ebp
push ebp
mov dword [eax + 8], eax
push ebp
mov dword [edi + 8], ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xd4], eax
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x406bd0
Capabilities:
Encode data using base64

Disassembly:
mov al, byte [0x430330]
test al, al
jne 0x406bde
call fcn.00406ba0
mov eax, dword [esp + 4]
test eax, eax
jne 0x406be9
xor eax, eax
ret
push ebx
mov ebx, dword [esp + 0xc]
lea ecx, [ebx + 2]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx*4 + 1]
push 0x430bd0
push edx
call fcn.0041ad5c
add esp, 8
test eax, eax
jne 0x406c22
call fcn.0041acd7
mov dword [eax], 0xc
xor eax, eax
pop ebx
ret
push ebp
push esi
push edi
xor edi, edi
xor esi, esi
xor edx, edx
xor ebp, ebp
test ebx, ebx
jbe 0x406cf8
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + ebp]
add esi, ecx
inc edi
cmp edi, 3
jne 0x406c8c
mov ecx, esi
sar ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + eax], cl
mov ecx, esi
sar ecx, 0xc
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + eax + 1], cl
inc edx
mov ecx, esi
sar ecx, 6
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edx
and esi, 0x3f
mov byte [edx + eax], cl
mov cl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edx
mov byte [edx + eax], cl
inc edx
xor esi, esi
xor edi, edi
jmp 0x406c8f
shl esi, 8
inc ebp
cmp ebp, ebx
jb 0x406c35
test edi, edi
je 0x406cf8
mov ecx, 2
sub ecx, edi
shl ecx, 3
shl esi, cl
mov ecx, esi
sar ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + eax], cl
mov ecx, esi
sar ecx, 0xc
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edx
mov byte [edx + eax], cl
inc edx
cmp edi, 1
jne 0x406ce3
mov ecx, dword [esp + 0x1c]
mov byte [edx + eax], 0x3d
pop edi
inc edx
mov byte [edx + eax], 0x3d
pop esi
inc edx
pop ebp
mov byte [edx + eax], 0
mov dword [ecx], edx
pop ebx
ret
sar esi, 6
and esi, 0x3f
mov cl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + eax], cl
inc edx
mov byte [edx + eax], 0x3d
inc edx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov byte [edx + eax], 0
mov dword [ecx], edx
pop ebx
ret

Function at 0x406fc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406fd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x406fed
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40700e
cmp esi, eax
jae 0x406fe7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407000
cmp esi, eax
jae 0x406fe7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4073c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x42f180]
push edi
mov dword [esp + 0x124], eax
xor eax, eax
mov dword [esp + 8], 0x114
mov ecx, 0x44
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40741a
cmp dword [esp + 0xc], 6
jb 0x40741a
mov eax, 1
mov ecx, dword [esp + 0x124]
call fcn.00419d15
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x124]
xor eax, eax
call fcn.00419d15
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4084a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x424fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x28]
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
mov dword [esp + 0x30], ebx
call dword [eax + 0xbc]
cmp eax, ebx
jge 0x40850f
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x24], 0xffffffff
je 0x40863b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
cmp edi, ebx
je 0x4085dd
mov dword [esp + 0x10], ebx
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
push edi
push esi
mov byte [esp + 0x30], 1
call dword [edx + 0xc4]
cmp eax, ebx
jge 0x40854e
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x24], bl
je 0x408545
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
jmp 0x408629
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push edx
push eax
mov byte [esp + 0x30], 2
call dword [ecx + 0x54]
cmp eax, ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x24], 1
jge 0x4085c1
cmp eax, ebx
je 0x408582
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x24], bl
je 0x408594
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x24], 0xffffffff
je 0x4085aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
cmp eax, ebx
je 0x4085cb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x24], bl
je 0x4085dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebp, ebx
je 0x408611
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push ecx
push ebp
mov byte [esp + 0x30], 3
call dword [edx + 0x54]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x24], bl
je 0x408621
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x408621
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0xb8]
mov esi, eax
cmp esi, ebx
mov eax, dword [esp + 0xc]
jge 0x408652
cmp eax, ebx
mov dword [esp + 0x24], 0xffffffff
je 0x40863b
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x24], 0xffffffff
je 0x408674
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x40a160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4258b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00409910
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00407f70
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40a1f2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40abc0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425d20
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x28]
mov eax, dword [eax - 0xc]
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x40ac91
mov ecx, dword [ebp + 0x38]
cmp dword [ecx - 0xc], esi
push ebx
lea ebx, [ebp + 0x38]
je 0x40ac90
mov edx, dword [0x430b50]
mov ecx, 0x430b50
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x28]
push eax
push ecx
lea edx, [esp + 0x18]
push str.http:___s_peer_sessionmstopsid_s
push edx
mov dword [esp + 0x30], esi
call fcn.0040a140
push 0x20002
call fcn.00419b03
mov edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x24]
push eax
mov esi, 0x10000
mov byte [esp + 0x38], 1
call fcn.00407220
add esp, 0x18
push 0x427f08
mov ecx, ebx
call fcn.00409660
push edi
call fcn.00419fb9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor esi, esi
pop ebx
mov eax, dword [ebp + 0x6c]
cmp eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp + 0xd8], 1
je 0x40acac
push esi
push eax
call edi
mov eax, dword [ebp + 0x70]
cmp eax, esi
je 0x40acb7
push esi
push eax
call edi
mov eax, dword [ebp + 0x6c]
cmp eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40acca
push eax
call edi
mov dword [ebp + 0x6c], esi
mov eax, dword [ebp + 0x70]
cmp eax, esi
je 0x40acd7
push eax
call edi
mov dword [ebp + 0x70], esi
mov eax, dword [ebp + 0xd4]
cmp eax, esi
je 0x40acea
push eax
call edi
mov dword [ebp + 0xd4], esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40ad00
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425198
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40ad41
mov eax, 0x80004005
pop edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
mov eax, dword [0x430b50]
push esi
mov ecx, 0x430b50
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x1c]
xor esi, esi
push ecx
cmp eax, 1
mov dword [esp + 0x70], esi
push edx
lea eax, [esp + 0x10]
jne 0x40ad78
push str.__s___e__s
jmp 0x40ad7d
push str.__s___e__s___reset_local_cache
push eax
call fcn.0040a140
add esp, 0x10
push ebp
mov ebp, dword [esp + 0xc]
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
push esi
push esi
xor ecx, ecx
push esi
mov dword [esp + 0x38], ecx
push ebp
mov dword [esp + 0x40], ecx
push esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40ae09
lea eax, [ebp - 0x10]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40adf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop esi
mov eax, 0x80004005
pop edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], esi
call ebx
test eax, eax
je 0x40ae6b
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebx, [ebx]
cmp dword [esp + 0x14], 0x103
jne 0x40ae6b
mov edx, dword [esp + 0x18]
push 0x2710
push edx
call edi
inc esi
cmp esi, 0xa
ja 0x40ae5e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
call ebx
test eax, eax
jne 0x40ae30
jmp 0x40ae6b
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x40ae8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x68]
pop ebp
pop esi
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x68
ret 4
Function at 0x411b90
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x425a3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
mov eax, dword [0x42f180]
push ebx
push esi
push edi
xor edi, edi
push 0x427740
lea ecx, [esp + 0x10]
mov dword [esp + 0x848], eax
mov dword [esp + 0x14], edi
call fcn.0040da00
mov dword [esp + 0x850], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
cmp ebx, edi
jne 0x411c1f
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00407f70
mov esi, dword [esp + 0x85c]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x850], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jmp 0x411d10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
shr ebx, 2
mov esi, 0x43
mov dword [esp + 0x14], 0x1e
test bl, 1
je 0x411cc4
push esi
lea eax, [esp + 0x2c]
push str._c:_
push eax
call fcn.0041ab14
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
call ebp
cmp eax, 3
jne 0x411cc4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push esi
lea eax, [esp + 0x5c]
push str._c___I64d___I64d__
push eax
call fcn.0041ab14
lea ecx, [esp + 0x64]
push ecx
call fcn.0041b05a
add esp, 0x20
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x18]
call fcn.00409c00
mov eax, dword [esp + 0x14]
inc esi
shr ebx, 1
dec eax
mov dword [esp + 0x14], eax
jne 0x411c36
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00407f70
mov esi, dword [esp + 0x860]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x854], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop ebp
test edx, edx
jg 0x411d1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x848]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x83c]
pop ebx
call fcn.00419d15
add esp, 0x848
ret
Function at 0x411d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x620
mov eax, dword [0x42f180]
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x624], eax
xor eax, eax
mov word [esp + 0x18], 0
mov ecx, 0x7f
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
mov word [esp + 0x218], ax
mov ecx, 0x7f
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
mov ecx, 0x17
mov esi, str.SYSTEMCurrentControlSetControlNlsLanguage
lea edi, [esp + 0x418]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x6b
lea edi, [esp + 0x474]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x41c]
push ecx
push 0x80000002
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x411e0d
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x21c]
push eax
push 0
push 0
push str.InstallLanguage
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x220]
push ecx
call fcn.0041b4fc
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edx, ax
push edx
lea eax, [esp + 0x20]
push str.SystemLangId:__ld__InstallLangId:__ld
push eax
call fcn.0041ab14
mov esi, dword [ebp + 8]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040da00
mov ecx, dword [esp + 0x624]
mov eax, esi
call fcn.00419d15
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4173c0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push edi
push edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xd8], edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0xd4], eax
lea eax, [esi + 0x8c]
push eax
call ebx
lea ecx, [esi + 0xb0]
push ecx
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [esp + 0xc]
push edx
push edi
push esi
push 0x416a20
push edi
push edi
mov dword [esp + 0x24], edi
mov dword [esi + 0xd8], edi
call ebx
mov dword [esi + 0x6c], eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x416ee0
push edi
push edi
call ebx
push edi
mov dword [esi + 0x70], eax
call fcn.0041b11d
push eax
call fcn.0041b2ee
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x418430
Capabilities:
Check http status code

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 8
push esi
xor esi, esi
cmp eax, esi
je 0x41847b
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x20000013
push eax
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41847b
mov eax, dword [esp + 4]
cmp eax, 0xc8
jb 0x41847b
cmp eax, 0x190
jae 0x41847b
mov esi, 1
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4184d0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x20
mov eax, dword [0x42f180]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
push ebx
mov dword [esp + 0x30], eax
mov ebp, ecx
call fcn.00419b03
mov esi, eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [ebp + 8]
add esp, 4
lea eax, [esp + 0x38]
push eax
lea ecx, [ebx - 1]
push ecx
push esi
push edx
mov dword [esp + 0x48], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
je 0x418578
push 0xfde9
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00419560
mov eax, dword [esp + 0x34]
mov ebp, 8
add esp, 0xc
cmp eax, ebp
mov eax, dword [esp + 0x14]
jae 0x41854f
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x34]
push ebx
push eax
push ecx
call fcn.0041a7ef
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, ebp
mov edi, 1
jb 0x418578
mov edx, dword [esp + 0x14]
push edx
call fcn.00419fb9
add esp, 4
test esi, esi
je 0x418585
push esi
call fcn.0041a33d
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
call fcn.00419d15
add esp, 0x20
ret 8
Function at 0x418d80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x42f180]
push esi
mov esi, dword [esp + 0x24]
test esi, esi
push edi
mov edi, dword [0x430b3c]
lea ecx, [esp + 8]
push ecx
push str.SoftwareGridvod
mov dword [esp + 0x28], eax
push 0x80000001
jne 0x418e52
xor eax, eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x18], si
mov word [esp + 0x2a], ax
mov dword [esp + 0x34], 0xa
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x418df2
lea edx, [esp + 8]
push edx
push str.SoftwareGridvod
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [esp + 8]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push str.Language
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x418e2f
mov eax, edi
pop edi
mov dword [0x430b3c], 0x804
pop esi
mov ecx, dword [esp + 0x18]
call fcn.00419d15
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push eax
call fcn.0041ab0f
add esp, 4
mov dword [0x430b3c], eax
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
call fcn.00419d15
add esp, 0x1c
ret
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x418e75
lea edx, [esp + 8]
push edx
push str.SoftwareGridvod
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x418ecf
xor eax, eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
push 0xa
lea ecx, [esp + 0x10]
mov dword [esp + 0x1a], eax
push ecx
mov dword [esp + 0x22], eax
push esi
mov word [esp + 0x18], 0
mov word [esp + 0x2a], ax
call fcn.0041b654
lea edx, [esp + 0x18]
push edx
call fcn.0041b05a
mov edx, dword [esp + 0x18]
add esp, 0x10
add eax, eax
push eax
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
push str.Language
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [0x430b3c], esi
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
call fcn.00419d15
add esp, 0x1c
ret