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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x42d040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x48f538]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x401fb9
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004028d3
lea ecx, [esp + 0x1c]
call fcn.00401d79
cmp eax, dword [esp + 0x10]
je 0x401fd0
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00403198
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x401f89
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406ca2
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00403b38
push eax
call fcn.00403b06
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00403198
jmp 0x401fbb

Function at 0x402003
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x48f538], eax
pop edi
pop esi
ret

Function at 0x407a6d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407aac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407aac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407aac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407aac
cmp dword [ecx + 0x74], 0xe
jbe 0x407aac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41612c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427050
push 0x427048
push str.FlsAlloc
push 0x1e
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416160
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
jmp 0x416166
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4161aa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427060
push 0x427058
push str.FlsGetValue
push 0x20
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4161e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x416f76
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416c18

Function at 0x416f81
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416da7
Function at 0x4185ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407be0
mov eax, dword [0x42d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004149e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41862e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41878a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421a10
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x48f130]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418a12
mov ecx, dword [esi*4 + 0x48f130]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x418783
cmp eax, dword [edi + ecx + 0x24]
jne 0x418783
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418783
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418a12
add esp, 0x14
test edx, edx
jl 0x418783
jg 0x4186f9
test eax, eax
jb 0x418783
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418783
jl 0x418713
cmp dword [ebp - 0x1008], eax
ja 0x418783
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418731
test ebx, ebx
je 0x41876a
cmp ecx, edi
jae 0x41876a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41874b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418757
cmp byte [ecx + 1], 0xa
jne 0x418757
inc ecx
jmp 0x418757
movzx eax, al
movsx eax, byte [eax + 0x42d9b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418731
cmp edx, ebx
jne 0x418731
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418788
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406ca2
leave
ret
Function at 0x41ed7c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x48f130]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41edbc
cmp byte [ebx], 0xa
jne 0x41edbc
or byte [eax + edi + 0x28], 4
jmp 0x41edc1
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41eebf
mov al, byte [edx]
cmp al, 0x1a
je 0x41eea1
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41edf0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ee15
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ee1f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41edd2
jmp 0x41eebf
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ee9c
cmp dword [ebp - 0xc], 0
je 0x41ee9c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48f130]
test byte [eax + edi + 0x28], 0x48
je 0x41ee76
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ee61
mov byte [esi], dl
jmp 0x41ee72
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48f130]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41eebf
cmp byte [ebp - 1], 0xa
jne 0x41ee85
cmp esi, ebx
jne 0x41ee85
mov byte [esi], 0xa
jmp 0x41eebe
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418a30
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41eebf
mov byte [esi], 0xd
jmp 0x41eebe
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48f130]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41eebb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41eebf
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41eec8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x48f130]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ef0b
cmp word [esi], dx
jne 0x41ef0b
or byte [edi + eax + 0x28], 4
jmp 0x41ef10
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f063
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f043
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ef52
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ef88
cmp eax, edx
jae 0x41ef94
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41ef2a
jmp 0x41f063
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f03f
cmp dword [ebp - 0x14], 0
je 0x41f03f
mov eax, dword [ebx*4 + 0x48f130]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f017
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41efe0
mov word [esi], cx
jmp 0x41f013
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48f130]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48f130]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48f130]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f063
pop ebx
cmp word [ebp - 4], bx
jne 0x41f028
cmp esi, dword [ebp + 0xc]
jne 0x41f028
mov word [esi], bx
jmp 0x41f060
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418a30
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f063
push 0xd
jmp 0x41f05c
mov ecx, dword [ebx*4 + 0x48f130]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f05a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f063
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4b3b70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xbe4], 0
je 0x4b3b9c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xbe4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xbe4]
mov edx, dword [edx]
mov eax, dword [edx + 0x24]
call eax
push 0x63b730
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3bc8
mov edx, dword [ebp - 4]
add edx, 0x1ab8
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
jmp 0x4b3cee
push 0x641c40
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3bf4
mov edx, dword [ebp - 4]
add edx, 0xe60
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
jmp 0x4b3cee
push 0x641c74
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3c20
mov edx, dword [ebp - 4]
add edx, 0xbe8
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
jmp 0x4b3cee
push 0x641c6c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3c4c
mov edx, dword [ebp - 4]
add edx, 0x10d8
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
jmp 0x4b3cee
push 0x641c50
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3c75
mov edx, dword [ebp - 4]
add edx, 0x1d30
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
jmp 0x4b3cee
push 0x641c64
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3c9e
mov edx, dword [ebp - 4]
add edx, 0x1840
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
jmp 0x4b3cee
push 0x641c48
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3cc7
mov edx, dword [ebp - 4]
add edx, 0x15c8
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
jmp 0x4b3cee
push 0x641c5c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00612dec
add esp, 8
test eax, eax
jne 0x4b3cee
mov edx, dword [ebp - 4]
add edx, 0x1350
mov eax, dword [ebp - 4]
mov dword [eax + 0xbe4], edx
mov esp, ebp
pop ebp
ret 4
Function at 0x547a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x630a69
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call dword [fcn.0063a264]
lea eax, [esp + 8]
push eax
lea ecx, [esi + 8]
mov dword [esp + 0x34], 0
call dword [fcn.0063a258]
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call dword [fcn.0063a270]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00612c78
add esp, 0x2c
ret 4
Function at 0x5923b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x20], eax
jmp 0x5923c4
mov eax, dword [0x8e48f4]
mov ecx, dword [eax + 0x8c44]
mov edx, dword [0x12c5540]
imul ecx, ecx, 0x113b8
lea ecx, [ecx + edx + 0x130d]
lea edx, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5923e5
lea ecx, [esp]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x592400
sub ecx, edx
push esi
mov esi, ecx
and esi, 3
shr ecx, 2
lea edx, [esp + 4]
mov eax, 0x7da9
je 0x592433
nop
sub ecx, 1
lea eax, [eax + ecx + 0x66058fea]
xor dword [edx], eax
add edx, 4
test ecx, ecx
ja 0x592420
test esi, esi
jbe 0x592449
xor byte [edx], al
movzx ecx, byte [edx + 1]
add edx, 1
sub esi, 1
xor eax, ecx
test esi, esi
ja 0x592437
lea edx, [esp + 4]
push edx
mov byte [esp + 0x27], 0
call dword [fcn.0063a8ec]
mov ecx, dword [esp + 0x28]
add esp, 4
add eax, 0x41
pop esi
xor ecx, esp
xor eax, 0x8235
call fcn.00612c78
add esp, 0x24
ret

Function at 0x5924df
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x20], eax
jmp 0x592494
mov eax, dword [0x8e48f4]
mov ecx, dword [eax + 0x8c44]
mov edx, dword [0x12c5540]
imul ecx, ecx, 0x113b8
lea ecx, [ecx + edx + 0x130d]
lea edx, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5924b5
lea ecx, [esp]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x5924d0
mov eax, dword [esp + 0x28]
sub ecx, edx
push esi
mov esi, ecx
and esi, 3
shr ecx, 2
lea edx, [esp + 4]
je 0x592503
mov edi, edi
sub ecx, 1
lea eax, [eax + ecx + 0x2e6d23c1]
xor dword [edx], eax
add edx, 4
test ecx, ecx
ja 0x5924f0
xor eax, esi
test esi, esi
jbe 0x59251f
lea esp, [esp]
xor byte [edx], al
sub esi, 1
add edx, 1
shr eax, 8
test esi, esi
ja 0x592510
lea eax, [esp + 4]
push eax
mov byte [esp + 0x27], 0
call dword [fcn.0063a8ec]
mov ecx, dword [esp + 0x28]
add esp, 4
pop esi
xor ecx, esp
add eax, 0x41
call fcn.00612c78
add esp, 0x24
ret

Function at 0x59bd80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x632fa8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov edx, 1
mov dword [eax + 0x18], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [eax], 0x65012c
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4
Function at 0x5a01a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x633173
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov ebx, 1
push ebx
push 2
call fcn.0059b060
lea esi, [edi + 0x28]
xor eax, eax
mov dword [edi], 0x650294
mov dword [esi + 0x18], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi], 0x64fe70
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x38], eax
mov byte [esp + 0x1c], bl
lea ebx, [edi + 0x64]
push eax
mov ecx, ebx
call fcn.0059fbc0
mov eax, dword [edi + 8]
mov dword [eax], esi
mov ecx, dword [edi + 8]
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x5a0300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6331a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x650294
lea ecx, [esi + 0x64]
mov dword [esp + 0x14], 1
call fcn.0055bfb0
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esi + 0x28], 0x64e784
je 0x5a035c
push eax
call fcn.00612cee
add esp, 4
mov dword [esi + 0x30], 0
mov ecx, esi
mov dword [esi + 0x34], 1
mov dword [esp + 0x14], 0xffffffff
call fcn.0059b300
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5df770
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x636259
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call dword [fcn.0063a8f8]
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0
call dword [fcn.0063a8e4]
test eax, eax
lea ecx, [esp + 0xc]
je 0x5df918
mov edi, dword [fcn.0063a8f4]
push esi
push 0xf4240
push 0x652d80
push 0x63ac24
call edi
lea ecx, [esi + 4]
push ecx
push 0x2710
push 0x652d70
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 8]
push edx
push 5
push 0x652d5c
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0xc]
push eax
push 0x2710
push 0x652d50
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x10]
push ecx
push 4
push 0x652d40
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x14]
push edx
push 0xc
push 0x652d38
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0x18]
push eax
push 0x1e
push 0x652d2c
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x1c]
push ecx
push 0xa
push 0x652d1c
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x20]
push edx
push 0x20
push 0x652d08
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0x24]
push eax
push 3
push 0x652cf4
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x28]
push ecx
push 0xa
push 0x652ce0
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x2c]
push edx
push 0xe10
push 0x652cd0
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
add esi, 0x30
push esi
push 5
push 0x652cc4
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call dword [fcn.0063a8dc]
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
mov dword [esp + 0x6c], 0xffffffff
call dword [fcn.0063a8dc]
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
Function at 0x611c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
push esi
mov esi, dword [esp + 0x10]
mov ebx, esi
and ebx, 3
shr esi, 2
push edi
mov edi, dword [esp + 0x18]
je 0x611c85
lea ecx, [ecx]
sub esi, 1
lea eax, [ecx + esi]
xor edx, edx
div dword [0x68b71c]
add edi, 4
mov ecx, dword [edx*4 + 0x685e60]
add ecx, 0x2e6d23c1
xor dword [edi - 4], ecx
test esi, esi
ja 0x611c60
xor edx, edx
mov eax, ebx
div dword [0x68b71c]
xor ecx, dword [edx*4 + 0x685e60]
test ebx, ebx
jbe 0x611caf
lea ebx, [ebx]
xor byte [edi], cl
sub ebx, 1
add edi, 1
shr ecx, 8
test ebx, ebx
ja 0x611ca0
mov eax, dword [ebp]
mov ecx, eax
shl ecx, 5
sub ecx, eax
pop edi
add ecx, 0x8088405
pop esi
mov dword [ebp], ecx
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x611d00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x611d1c
mov eax, dword [ebp - 4]
jmp 0x611df7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x611dd2
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6566d0]
dec ebp
jne 0x611d3c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x611dee
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x6566d0]
dec ecx
jne 0x611ddc
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6129f0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0xc], edi
call dword [0x63a07c]
mov esi, eax
call dword [fcn.0063a06c]
lea eax, [esp + 0xc]
push eax
push 0xf00ff
push esi
call dword [section.sect_1]
test eax, eax
je 0x612a3b
mov ecx, dword [esp + 0xc]
push 1
push 0x656af4
push ecx
mov ecx, ebx
call fcn.00612980
test eax, eax
je 0x612a3b
mov edi, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x612a4a
push eax
call dword [fcn.0063a044]
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret