joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4021a0
Capabilities:
Delete file
Move file
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, 0x40cc7c
call fcn.00404904
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 1
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
call fcn.0040b994
test eax, eax
jne 0x4022d8
xor ecx, ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push eax
push 0
push 0
push 0
push 0x40c22a
push dword [ebp - 0x2c]
call fcn.0040b9a0
mov word [ebp - 0x18], 8
mov edi, dword [ebp - 0x30]
mov eax, dword [0x410560]
inc edi
shr edi, 1
add edi, edi
mov dword [ebp - 0x34], edi
push dword [ebp - 0x34]
push 0
push dword [eax]
call fcn.0040bace
mov dword [ebp - 4], eax
lea edx, [ebp - 0x30]
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
push edx
push dword [ebp - 4]
push 0
push 0
push str.PendingFileRenameOperations
push dword [ebp - 0x2c]
call fcn.0040b9a0
test eax, eax
jne 0x4022ba
cmp dword [ebp - 0x30], 0
je 0x4022ba
mov ecx, 2
mov eax, dword [ebp - 0x30]
xor edx, edx
div ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov word [ecx + eax*2 - 2], 0
jmp 0x402271
mov edx, dword [ebp - 4]
mov word [edx + edi*2], 0x20
push dword [ebp - 4]
call fcn.0040bbac
mov edi, eax
mov edx, dword [ebp - 0x30]
dec edx
cmp eax, edx
jb 0x402268
push esi
push dword [ebp - 4]
call fcn.00404854
add esp, 8
test eax, eax
je 0x4022ba
push dword [ebp - 0x2c]
call fcn.0040b98e
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004023a0
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
jmp 0x402342
push dword [ebp - 0x2c]
call fcn.0040b98e
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004023a0
mov word [ebp - 0x18], 0
push ebx
call fcn.0040ba08
test eax, eax
jne 0x4022f6
xor ecx, ecx
mov edx, 0x10000000
mov eax, ebx
call fcn.00401f74
push ebx
call fcn.0040ba08
push ebx
push esi
call fcn.0040bb10
test eax, eax
je 0x40230d
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
jmp 0x402342
xor ecx, ecx
mov edx, 0x10000000
mov eax, esi
call fcn.00401f74
push ebx
push esi
call fcn.0040bb10
test eax, eax
jne 0x402339
push 4
push 0
push ebx
call fcn.0040bb0a
push 4
push ebx
push esi
call fcn.0040bb0a
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402428
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor esi, esi
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push edx
call fcn.0040b9f6
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4024be
push 0
push ebx
call fcn.0040ba56
mov edi, eax
cmp edi, 0xffffffff
je 0x4024b8
cmp edi, 0x400
jbe 0x4024b8
mov eax, edi
push 0
sub eax, 0x400
push 0
push eax
push ebx
call fcn.0040bb34
xor edx, edx
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
push 0
push ecx
lea eax, [ebp - 0x24]
push 0x1c
push eax
push ebx
call fcn.0040bb1c
test eax, eax
je 0x4024b8
cmp dword [ebp - 8], 0x1c
jne 0x4024b8
cmp edi, dword [ebp - 0x20]
jne 0x4024b8
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
jne 0x4024b8
lea eax, [ebp - 0x24]
call fcn.00402c74
test al, al
je 0x4024b8
mov esi, dword [ebp - 0x24]
push ebx
call fcn.0040b9d8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402754
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x4109b0
call fcn.00401c00
test al, al
jne 0x40277c
call fcn.00401f08
call fcn.00401940
call fcn.004019e8
call fcn.00401940
xor ebx, ebx
mov eax, dword [esi + ebx*8]
call fcn.0040217c
push dword [esi + ebx*8]
call fcn.0040ba50
cmp eax, 0xffffffff
jne 0x4027a9
mov ecx, dword [esi + ebx*8]
mov edx, dword [ebx*4 + 0x40c3b0]
mov eax, dword [0x40c3c8]
call fcn.0040293c
jmp 0x4027bd
test ah, 0x40
je 0x4027bd
mov eax, dword [esi + ebx*8]
xor ecx, ecx
mov edx, 0xa0000000
call fcn.00401f74
inc ebx
cmp ebx, 4
jb 0x40277e
cmp dword [0x40c3c4], 3
je 0x402820
push 0
lea eax, [ebp - 4]
push 0
push eax
push 0
push str.Start
push dword [0x4109d8]
call fcn.0040b9a0
test eax, eax
jne 0x4027f0
cmp dword [ebp - 4], 4
je 0x402820
push dword [0x4109d8]
call fcn.0040b98e
xor edx, edx
mov dword [0x4109d8], edx
call fcn.00402cc0
push 0x4109d8
push 1
push 0
push str.SYSTEMCurrentControlSetServicesLcss
push 0x80000002
call fcn.0040b99a
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x402828
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, 0x40ccdc
call fcn.00404904
mov word [ebp - 0x18], 8
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push ebx
call fcn.0040b9f6
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402929
push 2
push 0
push 0xfffffc00
push ebx
call fcn.0040bb34
xor edx, edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
push 0
push ecx
lea eax, [ebp - 0x48]
push 0x1c
push eax
push ebx
call fcn.0040bb1c
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x1c], ecx
mov ecx, 8
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x34]
add eax, 0xc
call fcn.0040349e
mov ebx, dword [ebp - 0x38]
test ebx, ebx
jl 0x4028b8
cmp ebx, 2
jl 0x4028c3
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
jmp 0x402929
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + ebx*4 + 4], ecx
mov edx, dword [ebp + ebx*4 - 0x34]
mov ecx, dword [ebp + ebx*4 - 0x34]
xor eax, eax
cmp ebx, eax
jle 0x4028f4
mov esi, dword [ebp - 4]
mov dword [esi + eax*4 + 4], edx
add edx, dword [ebp + eax*4 - 0x34]
cmp ecx, dword [ebp + eax*4 - 0x34]
jae 0x4028ef
mov ecx, dword [ebp + eax*4 - 0x34]
inc eax
cmp ebx, eax
jg 0x4028da
lea eax, [ebx + 1]
mov word [ebp - 0x18], 8
cmp eax, 2
jge 0x40291d
mov ebx, dword [ebp - 4]
mov dword [ebx + eax*4 + 4], edx
add edx, dword [ebp + eax*4 - 0x34]
cmp ecx, dword [ebp + eax*4 - 0x34]
jae 0x402917
mov ecx, dword [ebp + eax*4 - 0x34]
inc eax
cmp eax, 2
jl 0x402902
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402cc0
Capabilities:
Create service
Delete service
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0xf003f
push 0
push 0
call fcn.0040b982
mov ebx, eax
test ebx, ebx
je 0x402d86
push 0xf01ff
push 0x40c2d8
push ebx
call fcn.0040b988
mov esi, eax
test esi, esi
je 0x402d00
push esi
call fcn.0040b93a
push esi
call fcn.0040b92e
push 0
push 0
push 0
push 0
push 0
push dword [0x4109c8]
push 0
push 2
push 0x10
push 0xf01ff
push 0x40cb6a
push 0x40c2d8
push ebx
call fcn.0040b934
mov esi, eax
test esi, esi
je 0x402d41
push 0
push 0
push esi
call fcn.0040b9d0
push esi
call fcn.0040b92e
push ebx
call fcn.0040b92e
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push edx
push 2
push 0
push str.SYSTEMCurrentControlSetServicesLcss
push 0x80000002
call fcn.0040b99a
push 0xa4
push 0x40c2e2
push 1
push 0
push str.Description
push dword [ebp - 4]
call fcn.0040b9a6
push dword [ebp - 4]
call fcn.0040b98e
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4041fc
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call fcn.0040bac8
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x4082a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call fcn.0040b9ea
mov ebx, eax
test eax, eax
je 0x408306
call fcn.00408254
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00404690
pop ecx
push eax
push esi
push ebx
call fcn.0040bb9a
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00404690
pop ecx
push eax
push edi
push ebx
call fcn.0040bb9a
push ebx
call fcn.0040b9d8
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x408384
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x40f8a0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x40845e
cmp dword [0x40f89c], 0
jne 0x40845e
cmp dword [0x40faa8], 0
je 0x408418
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call fcn.0040ba6e
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00408154
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4083fe
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00408154
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4083fe
lea ebx, [ebp - 0x84]
jmp 0x4083ff
inc ebx
call fcn.00408340
or eax, 0x10010
push eax
push ebx
push esi
push 0
call fcn.0040bbba
jmp 0x408499
push 0xfffffffffffffff4
call fcn.0040ba9e
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x40f8a4
push ebx
call fcn.0040bb9a
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00404690
pop ecx
push eax
push esi
push ebx
call fcn.0040bb9a
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40f8a7
push ebx
call fcn.0040bb9a
jmp 0x408499
cmp dword [0x40f89c], 0
je 0x408478
cmp dword [0x40f89c], 0xffffffff
je 0x408499
push esi
call dword [0x40f89c]
pop ecx
mov eax, dword [0x40f8a0]
test eax, eax
je 0x408499
cmp dword [0x40f8a0], 0xffffffff
je 0x408499
cmp byte [eax], 0
je 0x408499
push esi
push eax
call fcn.004082a4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00401a61
push es
lodsb al, byte [esi]
mov ch, 0x59
lea eax, [ebp - 0x58]
push eax
call fcn.00401a71
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00401a26
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x401d4f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401a61
rcr dword [eax + 0x458d3e96], 0xc0
push eax
call fcn.00401a71
push eax
push esi
push dword [ebp + 8]
or al, ch
jo fcn.00401db0
invalid
inc dword [ebx - 0x7a76ef3c]
js 0x401dbc
invalid
invalid
call fcn.00401a61
mov byte [0x8d5f9c71], al
inc ebp
call 0x51287b57
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.00401a71
push eax
push esi
Function at 0x401d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00401a61
push es
lodsb al, byte [esi]
mov ch, 0x59
lea eax, [ebp - 0x58]
push eax
call fcn.00401a71
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00401a26
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x401d4f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401a61
rcr dword [eax + 0x458d3e96], 0xc0
push eax
call fcn.00401a71
push eax
push esi
push dword [ebp + 8]
or al, ch
jo fcn.00401db0
invalid
inc dword [ebx - 0x7a76ef3c]
js 0x401dbc
invalid
invalid
call fcn.00401a61
mov byte [0x8d5f9c71], al
inc ebp
call 0x51287b57
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.00401a71
push eax
push esi
Function at 0x401e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call fcn.00401a26
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00401a71
push eax
push esi
push dword [ebp + 8]
call fcn.00401a26
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00401a71
push eax
push esi
push dword [ebp + 8]
invalid
push ebp
sti
invalid

Function at 0x404140
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
mov cl, byte [edx]
test cl, cl
je 0x404165
shl eax, 4
and ecx, 0xff
add eax, ecx
inc edx
mov ecx, eax
shr ecx, 0x1c
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x40414c
ret
Function at 0x405690
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00424d50
mov eax, dword [0x455010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 1
push str.ESET_NOD32
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x4057c8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 8]
push 0x84000100
push 0
push 0
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x4056f7
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4057c8
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0
cmovae eax, dword [ebp + 0x20]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4057bc
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40579e
nop
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x40579e
push 0
lea ecx, [ebp - 0x100c]
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x100c]
cmp eax, dword [ebp - 0x1008]
jne 0x4057b5
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x405750
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov bl, 1
jmp 0x4057ca
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x4057fa
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4057f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40584f
push ecx
push edx
call fcn.0042426b
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40583c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405832
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40584f
push ecx
push edx
call fcn.0042426b
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423fd7
mov esp, ebp
pop ebp
ret
call fcn.0042aacf
int3
Function at 0x4059f0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x455010]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov word [ebp - 0xc], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x405a5a
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.00423fd7
mov esp, ebp
pop ebp
ret

Function at 0x405b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e390
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x455010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x220], edi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x220], edi
push eax
push 0x20019
push 0
push 0x44d3d0
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405c63
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push str.ProductName
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x23c]
test eax, eax
jne 0x405c5d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004173e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x228]
cmovae ecx, dword [ebp - 0x238]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x238]
push ecx
push eax
push ecx
mov ecx, edi
call fcn.00418490
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x405c53
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405c49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c7f
push ecx
push edx
call fcn.0042426b
add esp, 8
mov eax, edi
jmp 0x405c63
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423fd7
mov esp, ebp
pop ebp
ret
call fcn.0042aacf
int3
Function at 0x406250
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e46e
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x455010]
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, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x44d4b4
mov dword [ebp - 0x34], 1
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x406356
mov ecx, dword [ebp - 0x2c]
lea edi, [ebp - 0x13]
mov dword [ebp - 0x30], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x30]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4062e4
push ecx
lea eax, [ebp - 0x13]
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.0041a760
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.004176c0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x406356
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40634c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406373
push ecx
push edx
call fcn.0042426b
add esp, 8
mov eax, esi
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.00423fd7
mov esp, ebp
pop ebp
ret
call fcn.0042aacf
int3
Function at 0x416c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4404e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x455010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov edx, dword [esi + 8]
push eax
push dword [esi + 0xc]
push dword [esi + 4]
push eax
call fcn.004189f0
add esp, 0x10
test al, al
mov eax, esi
jne 0x416d12
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x418770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4406cd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x455010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
push 0x1c
call fcn.00423fea
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [eax + 0x18], 0x415b50
lea esi, [edi + 4]
mov dword [ebp - 4], 0
push esi
push 0
push eax
push 0x41d0a0
push 0
push 0
call fcn.004291ea
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x418838
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0041b960
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.00423fd7
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [esi], 0
call fcn.00421b81
int3