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

Disassembly:
push 0x844
mov eax, 0x6133ad
call fcn.00524043
mov edi, ecx
and dword [edi], 0
cmp byte [edi + 8], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
je 0x460014
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x850], 1
push 0
push eax
call fcn.00524e30
lea eax, [esi + 4]
mov dword [ebp - 0x84c], 0x800
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45ff7e
mov eax, dword [eax]
lea ecx, [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x850]
push ecx
push 0
push eax
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test esi, esi
jne 0x45ffe3
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.004625ae
and dword [ebp - 4], esi
lea ecx, [ebp - 0x828]
push ecx
lea ecx, [ebx + 4]
call fcn.00465045
lea ecx, [ebp - 0x82c]
call fcn.00462a54
mov al, 1
jmp 0x460016
push 0x694778
lea ecx, [ebp - 0x848]
call fcn.004625ae
lea eax, [ebp - 0x844]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.00465045
lea ecx, [ebp - 0x848]
call fcn.00462a54
xor al, al
call fcn.00523fed
ret 8

Function at 0x46001e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, ecx
and dword [edi], 0
cmp byte [edi + 8], 0
je 0x460074
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x460046
mov eax, dword [eax]
push esi
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov dword [edi], eax
pop esi
jne 0x460074
mov al, 1
jmp 0x460076
xor al, al
pop edi
leave
ret 8
Function at 0x4602b8
Capabilities:
Encode data using xor

Disassembly:
push 0x1a0
mov eax, 0x6133e0
call fcn.00524043
mov esi, ecx
cmp byte [esi], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
jne 0x4602dc
or eax, 0xffffffff
jmp 0x460459
cmp byte [esi + 1], 0
jne 0x4602d4
test edi, edi
je 0x4602d4
cmp dword [ebp + 0xc], 0
jle 0x4602d4
test ebx, ebx
je 0x4602d4
cmp byte [edi], 4
jne 0x4602d4
lea ecx, [ebp - 0x17c]
call fcn.0047d867
lea ecx, [ebp - 0x18c]
call fcn.0047d867
cmp byte [edi], 4
jne 0x460337
push dword [esi + 0x28]
lea edx, [edi + 1]
lea ecx, [ebp - 0x17c]
call fcn.0047e6ab
mov eax, dword [esi + 0x28]
lea edx, [edi + 1]
push eax
add edx, eax
lea ecx, [ebp - 0x18c]
call fcn.0047e6ab
pop ecx
pop ecx
lea ecx, [ebp - 0x19c]
call fcn.0047d867
lea ecx, [ebp - 0x1ac]
call fcn.0047d867
push dword [esi + 4]
lea eax, [ebp - 0x18c]
push dword [esi + 8]
lea edx, [ebp - 0x1ac]
push dword [esi + 0x18]
lea ecx, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00460719
add esp, 0x14
lea eax, [ebp - 0x15c]
mov ecx, esi
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00460512
lea ecx, [ebp - 0x160]
call fcn.0046151d
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x28]
test eax, eax
jle 0x4603c0
mov ecx, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
push eax
call fcn.004612b4
mov eax, dword [esi + 0x28]
pop ecx
lea ecx, [ebp - 0x15c]
add eax, ecx
mov ecx, esi
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00460512
and dword [ebp - 0x164], 0
lea eax, [ebp - 0x164]
push eax
mov eax, dword [esi + 0x28]
push ebx
push dword [ebp + 0xc]
add eax, eax
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004601bc
push dword [ebp - 0x164]
push ebx
call fcn.00460554
test al, al
je 0x460461
lea ecx, [ebp - 0x17c]
call fcn.0047cee2
lea ecx, [ebp - 0x18c]
call fcn.0047cee2
lea ecx, [ebp - 0x19c]
call fcn.0047cee2
lea ecx, [ebp - 0x1ac]
call fcn.0047cee2
mov dword [ebp - 0x168], 0xfffffffe
push 0xe8
push dword [ebp - 0x160]
call fcn.00522ce9
mov eax, dword [ebp - 0x168]
pop ecx
pop ecx
call fcn.00523fed
ret 0xc
mov eax, dword [esi + 0x28]
lea eax, [eax*2 + 1]
add eax, edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
test edi, edi
jle 0x46048e
mov edx, eax
mov ecx, ebx
sub edx, ebx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x460480
mov edi, dword [ebp + 0xc]
push edi
push ebx
lea ecx, [ebp - 0x160]
call fcn.004614d1
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x15c]
push eax
add eax, ecx
lea ecx, [ebp - 0x160]
push eax
call fcn.004614d1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x160]
call fcn.004614f0
lea ecx, [ebp - 0x17c]
call fcn.0047cee2
lea ecx, [ebp - 0x18c]
call fcn.0047cee2
lea ecx, [ebp - 0x19c]
call fcn.0047cee2
lea ecx, [ebp - 0x1ac]
call fcn.0047cee2
mov edx, dword [ebp - 0x16c]
lea esi, [ebp - 0x30]
add edx, edi
xor ecx, ecx
mov eax, dword [esi + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x460437
inc ecx
cmp ecx, 8
jne 0x4604fb
jmp 0x460441
Function at 0x461547
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x6ad2ac]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [edx + 1]
push esi
movzx esi, byte [edx]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 5]
push edi
mov edi, ecx
xor esi, 0xa3b1bac6
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x94], esi
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
xor ecx, 0x56aa3350
mov dword [ebp - 0x90], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
xor ecx, 0x677d9197
mov dword [ebp - 0x8c], ecx
movzx ecx, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
xor ecx, 0xb27022dc
xor esi, esi
mov dword [ebp - 0x88], ecx
mov ecx, dword [esi + 0x6944b8]
xor ecx, dword [ebp + esi - 0x90]
xor ecx, dword [ebp + esi - 0x88]
xor ecx, dword [ebp + esi - 0x8c]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax + 0x6943b8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x6943b8]
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x6943b8]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + 0x6943b8]
or edx, eax
mov ecx, edx
mov eax, edx
rol ecx, 0xd
ror eax, 9
xor ecx, eax
xor ecx, dword [ebp + esi - 0x94]
xor ecx, edx
mov dword [ebp + esi - 0x84], ecx
mov dword [esi + edi], ecx
add esi, 4
cmp esi, 0x80
jb 0x46160b
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00522ca8
leave
ret
Function at 0x4616a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x6ad2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push 0x80
push 0
push eax
mov esi, edx
mov dword [ebp - 0xa8], edi
mov ebx, ecx
call fcn.00524e30
movzx ecx, byte [esi]
lea edi, [ebp - 0x8c]
movzx eax, byte [esi + 1]
add esp, 0xc
shl ecx, 8
sub edi, ebx
or ecx, eax
mov dword [ebp - 0x98], 0x20
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
mov dword [ebp - 0x94], ecx
movzx ecx, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
mov dword [ebp - 0x90], ecx
movzx ecx, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
mov dword [ebp - 0x8c], ecx
movzx ecx, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
lea esi, [ebp - 0x88]
or ecx, eax
sub esi, ebx
mov dword [ebp - 0x88], ecx
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x94]
sub eax, ebx
sub ecx, ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x84]
sub ecx, ebx
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + ebx]
xor ecx, dword [edi + ebx]
xor ecx, dword [esi + ebx]
xor ecx, dword [ebx]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax + 0x6943b8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x6943b8]
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x6943b8]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + 0x6943b8]
or edx, eax
mov ecx, edx
mov eax, edx
rol eax, 0xa
ror ecx, 0xe
xor ecx, eax
mov eax, edx
ror eax, 8
xor ecx, eax
mov eax, edx
rol eax, 2
xor ecx, eax
mov eax, dword [ebp - 0x9c]
xor ecx, dword [eax + ebx]
mov eax, dword [ebp - 0xa0]
xor ecx, edx
sub dword [ebp - 0x98], 1
mov dword [eax + ebx], ecx
lea ebx, [ebx + 4]
mov eax, dword [ebp - 0xa4]
jne 0x4617b5
mov edi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ecx
shr eax, 8
mov byte [edi + 2], al
mov byte [edi + 3], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, ecx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], cl
mov ecx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 9], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xa], al
mov byte [edi + 0xb], cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xf], cl
mov ecx, dword [ebp - 4]
mov byte [edi + 0xe], al
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00522ca8
leave
ret
Function at 0x461903
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test eax, eax
jl 0x461a1e
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], ebx
jg 0x461928
test ebx, ebx
je 0x461a1d
push esi
push edi
cmp edx, 1
jne 0x4619ab
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 4]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
sub edx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edi
mov esi, edi
mov ecx, eax
push 0x10
sub esi, eax
pop edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
sub edi, 1
jne 0x461952
mov edi, dword [ebp - 8]
mov edx, edi
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004616a5
mov edx, dword [ebp - 0xc]
mov esi, edi
mov edi, dword [ebp + 0x10]
sub edx, 0x10
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0xc], edx
pop ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
add edi, 0x10
add ebx, 0xfffffff0
mov dword [ebp - 8], edi
adc esi, 0xffffffff
mov dword [ebp - 4], esi
test esi, esi
jg 0x461949
jl 0x461a1b
test ebx, ebx
jne 0x461949
jmp 0x461a1b
mov eax, dword [ebp + 0x10]
add ecx, 4
mov ebx, dword [ebp + 0x18]
sub eax, ebx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov esi, edx
lea edi, [ebp - 0x24]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004616a5
pop ecx
mov ecx, dword [ebp - 0xc]
push 0x10
pop edx
mov al, byte [ecx + ebx]
xor byte [ebx], al
inc ebx
sub edx, 1
jne 0x4619d8
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
sub ecx, 0x10
mov eax, dword [ebp - 8]
add edx, 0x10
mov dword [ebp - 0xc], ecx
add eax, 0xfffffff0
mov ecx, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
adc ecx, 0xffffffff
mov dword [ebp - 4], ecx
test ecx, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jg 0x4619c2
jl 0x461a1b
test eax, eax
jne 0x4619c2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x462baf
Capabilities:
Get geographical location

Disassembly:
push 0x4b4
mov eax, 0x613770
call fcn.005240b1
mov esi, ecx
test esi, esi
jne 0x462bcc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x462be1
or eax, 0xffffffff
jmp 0x462d60
push 8
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push 0xb
push esi
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x462c03
push 0xfffffffffffffffe
jmp 0x462d5f
lea eax, [ebp - 0x1c]
push eax
call fcn.00535d4e
mov ebx, eax
pop ecx
test ebx, ebx
je 0x462d5d
cmp ebx, 0xfde8
je 0x462d5d
cmp ebx, 0xfde9
je 0x462d5d
movzx eax, bx
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x462d5d
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00524e30
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0x40
push 0
push eax
call fcn.00524e30
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x814
cmp si, ax
lea eax, [ebp - 0x70]
jne 0x462caa
push str.Norwegian_Nynorsk
push 0x40
push eax
call fcn.00533a11
add esp, 0xc
push 0x40
lea eax, [ebp - 0xb0]
push eax
push 0x1002
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x462cc4
push 0xfffffffffffffffb
jmp 0x462d5f
push 0x40
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x462c8a
push 0xfffffffffffffffc
jmp 0x462d5f
push 0xa
push 0x10
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.00534276
push 0x400
lea eax, [ebp - 0x4b0]
push 0
push eax
call fcn.00524e30
add esp, 0x1c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x70]
push eax
push str._s__s._s_n
lea eax, [ebp - 0x4b0]
push 0x3fc
push eax
call fcn.00448515
and dword [ebp - 4], 0
lea eax, [ebp - 0x4b0]
add esp, 0x14
lea ecx, [ebp - 0x4c0]
push eax
call fcn.00461d30
push eax
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 1
push eax
call fcn.00512c3d
pop ecx
pop ecx
lea ecx, [ebp - 0x4b8]
call fcn.0045101d
lea ecx, [ebp - 0x4c0]
call fcn.0045101d
xor eax, eax
jmp 0x462d60
push 0xfffffffffffffffd
pop eax
call fcn.00523ffe
ret

Function at 0x463dfc
Capabilities:
Query environment variable

Disassembly:
push 0x828
mov eax, 0x613a77
call fcn.00524043
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x830]
push eax
mov dword [ebp - 0x834], esi
call fcn.00464373
and dword [ebp - 4], 0
lea eax, [ebp - 0x814]
push 0x802
push 0
push eax
call fcn.00524e30
add esp, 0xc
lea ecx, [ebp - 0x814]
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, esi
test eax, eax
je 0x463e75
lea eax, [ebp - 0x814]
push eax
call fcn.004625ae
jmp 0x463e81
lea eax, [ebp - 0x830]
push eax
call fcn.0046260b
lea ecx, [ebp - 0x830]
call fcn.00462a54
mov eax, esi
call fcn.00523fed
ret 4
Function at 0x4669c0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0x178
mov eax, 0x613f72
call fcn.00524043
mov esi, edx
mov edi, ecx
call fcn.0044af9f
push esi
lea ecx, [ebp - 0x160]
call fcn.0046260b
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14c], ebx
jne 0x466a57
mov esi, 0x100
lea eax, [ebp - 0x110]
push esi
push ebx
push eax
call fcn.00524e30
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x466a21
or ebx, 0xffffffff
jmp 0x466b49
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004624d4
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x15c]
call fcn.00465045
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], bl
call fcn.00462a54
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x180], 2
lea eax, [ebp - 0x144]
movlpd qword [ebp - 0x174], xmm0
push eax
lea ecx, [ebp - 0x160]
movlpd qword [ebp - 0x16c], xmm0
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x164], ebx
call fcn.004629fb
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x184]
push ecx
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push ebx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 4], 2
test eax, eax
jne 0x466b3e
mov esi, dword [ebp - 0x164]
test esi, esi
je 0x466b3e
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x466b23
push eax
lea ecx, [ebp - 0x12c]
call fcn.004624d4
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0044aff3
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.00462a54
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x466ae6
cmp dword [ebp - 0x164], esi
je 0x466b3e
push dword [ebp - 0x164]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [ebp - 0x144]
call fcn.004482f6
lea ecx, [ebp - 0x160]
call fcn.00462a54
mov eax, ebx
call fcn.00523fed
ret

Function at 0x466b5c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x6ad2ac]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [0x6b04a0], 0
jne 0x466b83
xor eax, eax
jmp 0x466bb4
lea eax, [esp]
mov byte [0x6b04a0], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x466bb1
mov eax, dword [esp]
cmp al, 2
jne 0x466bab
shr eax, 8
cmp al, 2
je 0x466b7f
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00522ca8
mov esp, ebp
pop ebp
ret
Function at 0x466bda
Capabilities:
Get disk size

Disassembly:
push 0x74
mov eax, 0x613fba
call fcn.00524043
mov esi, edx
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jne 0x466bf6
xor al, al
jmp 0x466d59
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.00462a9d
push 0x694818
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.004625ae
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
call fcn.0044f15c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00462a54
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x466d4f
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
call fcn.00523af0
mulsd xmm0, qword [0x699e30]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
mulsd xmm0, qword [0x699e30]
movsd qword [ebp - 0x80], xmm0
movsd qword [esi], xmm0
call fcn.00523af0
movsd xmm1, qword [0x699e30]
lea eax, [ebp - 0x30]
mulsd xmm0, xmm1
mov edi, 0x69635c
push ecx
push ecx
mulsd xmm0, xmm1
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [ebp - 0x80]
comisd xmm0, xmmword [0x699e50]
jb 0x466cbc
mulsd xmm0, xmm1
movsd qword [esp], xmm0
push str._.3f_GB
jmp 0x466cc2
movsd qword [esp], xmm0
push edi
push eax
call fcn.00448140
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push eax
call fcn.004624d4
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0xc]
call fcn.00465045
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00462a54
movsd xmm0, qword [esi + 0x28]
lea eax, [ebp - 0x30]
comisd xmm0, xmmword [0x699e50]
push ecx
push ecx
jb 0x466d1a
mulsd xmm0, qword [0x699e30]
movsd qword [esp], xmm0
push str._.3f_GB
jmp 0x466d20
movsd qword [esp], xmm0
push edi
push eax
call fcn.00448140
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push eax
call fcn.004624d4
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x34]
call fcn.00465045
lea ecx, [ebp - 0x4c]
call fcn.00462a54
mov bl, 1
lea ecx, [ebp - 0x68]
call fcn.00462a54
mov al, bl
call fcn.00523fed
ret
Function at 0x467098
Capabilities:
Get file attributes

Disassembly:
push 0x64
mov eax, 0x61403a
call fcn.00524043
mov edi, ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], al
mov dword [ebp - 4], eax
or dword [edi + 4], 0xffffffff
cmp dword [0x6aeb5c], 0x75bcd0d
mov dword [edi], eax
mov byte [edi + 8], al
je 0x467172
mov ebx, 0x75bcd0e
cmp dword [0x6aeb5c], ebx
je 0x467172
push str.LVHMutexExLogMark
lea ecx, [ebp - 0x64]
call fcn.004625ae
push 0x20a
mov byte [ebp - 4], 1
call fcn.00522ef7
mov esi, eax
mov dword [esp], 0x104
xor eax, eax
push esi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea ecx, [ebp - 0x48]
call fcn.004625ae
push esi
call fcn.00522cf7
pop ecx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00464d31
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00462a54
lea ecx, [ebp - 0x64]
call fcn.00462a54
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
lea ecx, [ebp - 0x2c]
neg eax
sbb eax, eax
add eax, ebx
mov dword [0x6aeb5c], eax
call fcn.00462a54
mov eax, edi
call fcn.00523fed
ret

Function at 0x467708
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x46772f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00467cd6
jmp 0x4677e4
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x467751
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x467753
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x4677d8
jg 0x467768
test esi, esi
je 0x4677d8
test ecx, ecx
jl 0x4677b1
jg 0x467772
test eax, eax
je 0x4677b1
cmp edi, ecx
jg 0x467786
jl 0x46777c
cmp esi, eax
jae 0x467786
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.00524f90
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x4677b4
mov edx, dword [ebp + 8]
test edi, edi
jl 0x4677d8
jg 0x4677be
test esi, esi
je 0x4677d8
cmp dword [ebx + 0x4c], 0
je 0x4677d8
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.0052c2f4
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc