joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4604f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x646590]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x460683
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x46066c
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xc], edx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x4605d8
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x646638]
test eax, eax
jne 0x4605bf
mov eax, dword [esp + 0x28]
jmp 0x4605cd
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x46060f
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x646638]
test eax, eax
jne 0x4605fa
mov eax, dword [esp + 0x28]
jmp 0x460608
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x460635
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46064d
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x14]
test eax, eax
je 0x460668
nop
lea ecx, [0x6464e4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xadd
add esp, 0x24
ret
lea eax, [0x5320f9]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollUnblock

Function at 0x4639b0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x646467], 0
je 0x4639ca
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x4639d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x646467], 0
je 0x4639eb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback
Function at 0x4648c0
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x4648da
mov ecx, 0x14
jmp 0x4648e3
shl ecx, 2
add ecx, 0xe10
mov dword [0x646590], ecx
ret
Function at 0x48e3c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x646590]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48e5aa
sub esp, 0x48
mov eax, dword [0x5eeb34]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call sym.time.Date
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0046424e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0046424e
call sym.time.Time.abs
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call sym.runtime.uint64mod
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x48e497
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x48e4b1
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x48e528
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x48e4fe
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x48e4fa
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x48e4f3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x48e500
mov ebx, 0x1d
jmp 0x48e51e
mov ebp, eax
jmp 0x48e500
mov ebp, eax
cmp ebp, 0xd
jae 0x48e59d
lea eax, [ebp - 1]
lea edx, [0x5e7940]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x48e593
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x48e528
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x48e55a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x48e562
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, 0xd
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.time.pseudoUnix
Function at 0x49e840
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x646590]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49e8e1
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x49e8d7
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x49e8d7
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x49e8d7
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x49e8d7
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x49e8d7
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x49e8d7
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x49e8d7
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x49e8d7
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x49e8d7
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x49e8d7
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x49e8d9
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt
Function at 0x4d46a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x646590]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d483a
sub esp, 0x38
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00463d68
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jbe 0x4d4832
mov ebx, dword [esp + 0x40]
movzx ebp, byte [ebx + edx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4d47be
lea eax, [0x511ac0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov dword [eax + 4], 0x25
lea ecx, [0x5326f5]
mov dword [eax], ecx
lea ecx, [0x555a00]
cmp dword [0x5eedf8], ecx
jne 0x4d4742
mov edx, dword [0x5eedfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d4742
lea ecx, [0x555a00]
mov eax, dword [esp + 0x34]
jmp 0x4d479d
lea eax, [0x515a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x4c]
mov ebp, ebx
sar ebx, 0x1f
add edx, ebp
mov dword [eax], edx
adc ecx, ebx
mov dword [eax + 4], ecx
lea ecx, [0x555a00]
mov dword [eax + 8], ecx
mov ecx, dword [0x646638]
test ecx, ecx
jne 0x4d4789
mov ecx, dword [esp + 0x34]
jmp 0x4d4794
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x555ca8]
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x54]
mov edx, eax
xor eax, eax
call fcn.00463d68
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x38
ret
xchg ebp, eax
movzx esi, al
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov edi, edx
lea edx, [0x53587b]
movzx edx, byte [edx + ebp]
dec edx
nop
mov ebp, edi
lea edi, [esp + 0x14]
call fcn.00463d68
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
lea edi, [esp + 0x54]
lea esi, [esp + 0x14]
call fcn.00464230
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x38
ret
mov eax, edx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_zstd._Reader_.makeReverseBitReader
Function at 0x4fbe00
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x646590]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fbe7b
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x4fbe71
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x4fbe71
movzx ecx, word [eax + 6]
cmp word [edx + 6], cx
jne 0x4fbe71
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
cmp dword [eax + 8], ecx
sete cl
cmp dword [eax + 0xc], ebx
sete bl
and ebx, ecx
test bl, bl
je 0x4fbe71
mov ecx, dword [eax + 0x14]
cmp dword [edx + 0x14], ecx
jne 0x4fbe71
mov edx, dword [edx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x4fbe73
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.cmd_internal_objfile.goobjReloc
Function at 0x1000f721
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000f730
pop dword [ebp - 0x4c]
mov eax, 0x4a84d76
add eax, 0xb58a9ba
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xef0703b7
add dword [ebp - 0x5c], 0x5f4b4194
mov dword [ebp - 0x58], 0x2c062893
sub dword [ebp - 0x58], 0xf9d2dc4e
mov dword [ebp - 0x54], 0xc00bb664
add dword [ebp - 0x54], 0x8c408dca
mov dword [ebp - 0x50], 0x6ff3ae73
add dword [ebp - 0x50], 0x900c518d
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x5f97765d
sub eax, 0x4f96366d
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x9dbb3693
sub dword [ebp - 0x5c], 0x2948cd3d
mov dword [ebp - 0x58], 0xae1a2ae9
sub dword [ebp - 0x58], 0x6cadc974
mov dword [ebp - 0x54], 0xb3d23bd8
sub dword [ebp - 0x54], 0x5062cf6c
mov dword [ebp - 0x50], 0xf2c71cb5
add dword [ebp - 0x50], 0xd38e34b
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x38ece
push 0
call eax
mov ecx, 0x6319296b
add ecx, 0x9ce72806
xor edx, edx
add edx, eax
mov ebx, 0x247ea494
sub ebx, 0x147d0a94
add ebx, dword [ebp - 0x4c]
mov esi, 0x7d7169db
add esi, 0xdbb58f0f
xor dword [ebp - 8], 0xb669618
mov edi, dword [ebx]
sub dword [ebp - 4], 0x3ca9d61a
xor edi, esi
sub dword [ebp - 0x10], 0x9d00a146
mov dword [edx], edi
xor dword [ebp - 0x24], 0x82f681fe
add edx, 0x8434be55
add edx, 0x7bcb41af
add ebx, 4
loop 0x1000f84f
add eax, 0x13897
xor ebx, ebx
add ebx, eax
add eax, 0xa47088aa
sub eax, 0xa47088a5
mov ecx, 0xdf349c74
add ecx, 0x30cb638c
add ecx, dword [ebp - 0x4c]
call ebx
leave

Function at 0x41713f
Capabilities:
Encode data using xor

Disassembly:
lea edx, [esi - 0x35]
aad 2
aas
and byte [ebx], cl
adc byte [eax + 0x30], bl
xor byte [eax + ebp*2 + 0x4183f80e], bl
mov al, byte [0xc35a3b20]
push esi
sub dword [ecx - 0x3f], ebp
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4062c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
cmp dword [0x416600], 0
je 0x40630e
push 0x44
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0040e820
add esp, 0xc
mov dword [ebp - 0x48], 0x44
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0x4121bc]
jmp 0x40637a
push 0x44
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040e820
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
push 0x410
mov edx, dword [ebp + 8]
push edx
call dword [0x4121fc]
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.0040bce0
add esp, 0x10
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xa0]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x4b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret

Function at 0x406400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [0x4121fc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.0040bce0
add esp, 0x10
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [0x4121fc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x160]
push edx
call fcn.0040bce0
add esp, 0x10
push 0x44
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0040e820
add esp, 0xc
mov dword [ebp - 0x48], 0x44
movzx ecx, word [0x41727c]
test ecx, ecx
je 0x4064a5
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x26c], eax
jmp 0x4064d1
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov esp, ebp
pop ebp
ret
Function at 0x4065b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
cmp dword [ebp + 0x14], 0
jne 0x4065ee
cmp dword [ebp + 0x10], 0
je 0x4065d9
push 0
push 0
push 0
mov eax, dword [0x416630]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4065ec
push 2
push 0
push 0
mov ecx, dword [0x416630]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x406619
push 0
push 0
mov edx, dword [0x418f4c]
push edx
mov eax, dword [0x416630]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x406619
mov dword [0x418f4c], 0
call fcn.0040a390
push 0
lea ecx, [ebp - 0x51c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x416630]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x406668
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea edx, [ebp - 0x51c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x416630]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x406679
mov eax, dword [0x416630]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4080c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov dword [ebp - 0x150], 0
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x12c], 0
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
lea edx, [ebp - 0x130]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [0x416600], 0
je 0x4081a2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x13c], 0x408090
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x150]
push ecx
call dword [0x412200]
mov dword [ebp - 0x10c], eax
jmp 0x40821a
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call dword [0x4121fc]
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040bce0
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 0x408090
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x114], ecx
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x130]
push eax
call fcn.0040dd7e
add esp, 4
mov eax, dword [ebp - 0x10c]
mov esp, ebp
pop ebp
ret
Function at 0x408830
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x90], 2
jne 0x40887a
cmp dword [ebp - 0x9c], 4
jne 0x40887a
cmp dword [ebp - 0x98], 0
jne 0x40887a
mov dword [ebp - 0xa4], 1
jmp 0x4088f9
cmp dword [ebp - 0x90], 1
jne 0x4088a1
cmp dword [ebp - 0x9c], 4
jne 0x4088a1
cmp dword [ebp - 0x98], 0
jb 0x4088a1
mov dword [ebp - 0xa4], 2
jmp 0x4088f9
cmp dword [ebp - 0x90], 2
jne 0x4088c8
cmp dword [ebp - 0x9c], 5
jne 0x4088c8
cmp dword [ebp - 0x98], 0
jne 0x4088c8
mov dword [ebp - 0xa4], 3
jmp 0x4088f9
cmp dword [ebp - 0x90], 2
jne 0x4088ef
cmp dword [ebp - 0x9c], 5
jb 0x4088ef
cmp dword [ebp - 0x98], 1
jb 0x4088ef
mov dword [ebp - 0xa4], 4
jmp 0x4088f9
mov dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xa4]
mov esp, ebp
pop ebp
ret

Function at 0x408c10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [0x416600], 0
je 0x408c3a
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x4121c8]
jmp 0x408c79
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4121fc]
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0040bce0
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov esp, ebp
pop ebp
ret

Function at 0x408d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x416600], 0
je 0x408d51
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x4121a8]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x408d49
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 0x20c]
jmp 0x408db7
push 0x208
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x4121fc]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.0040bce0
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x408db1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 0x20c]
mov esp, ebp
pop ebp
ret
Function at 0x408dc0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x416600], 0
je 0x408dfc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x412194]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408df7
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 8]
jmp 0x408e77
mov eax, dword [ebp + 0xc]
push eax
call dword [0x4121fc]
add eax, 1
imul eax, eax, 3
push eax
call fcn.0040dd6a
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x4121fc]
add eax, 1
imul eax, eax, 3
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [0x4121fc]
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040bce0
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x408e68
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 4]
push edx
call fcn.0040dd7e
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret