joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5665ba
Capabilities:
Encrypt data using aes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov edx, ebx
mov eax, ebx
shr edx, 0x18
shr eax, 0x10
movzx ecx, al
mov eax, dword [edx*4 + 0x6d6d18]
xor eax, dword [ecx*4 + 0x6d7918]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.cwko0]
movzx ecx, bl
pop ebx
xor eax, dword [ecx*4 + 0x6d7118]
ret 4

Function at 0x566a7f
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
push 3
pop ebp
mov ebx, dword [esp + 0x20]
lea eax, [edi + 2]
div ebp
lea eax, [eax*4 + 1]
cmp dword [ebx], eax
jae 0x566aaa
push 6
mov dword [ebx], eax
pop eax
jmp 0x566b9c
xor edx, edx
mov eax, edi
div ebp
push esi
mov esi, dword [esp + 0x20]
imul ecx, eax, 3
xor eax, eax
test ecx, ecx
je 0x566b35
xor edx, edx
lea eax, [ecx - 1]
div ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [0x7544c0]
inc eax
imul ecx, eax, 3
mov ebx, eax
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx]
shr ecx, 2
mov al, byte [ecx + ebp]
mov byte [esi], al
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl eax, 4
shr ecx, 4
add ecx, eax
and ecx, 0x3f
mov al, byte [ecx + ebp]
mov byte [esi + 1], al
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 1]
shr ecx, 6
lea eax, [ecx + eax*4]
and eax, 0x3f
mov al, byte [eax + ebp]
mov byte [esi + 2], al
movzx eax, byte [edx + 2]
add edx, 3
and eax, 0x3f
mov al, byte [eax + ebp]
mov byte [esi + 3], al
add esi, 4
sub ebx, 1
jne 0x566ad9
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
jmp 0x566b39
mov edx, dword [esp + 0x18]
cmp eax, edi
jae 0x566b90
movzx ebp, byte [edx]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jae 0x566b4f
movzx ecx, byte [edx + 1]
jmp 0x566b51
xor ecx, ecx
mov edx, dword [0x7544c0]
mov eax, ebp
shr eax, 2
shl ebp, 4
mov al, byte [eax + edx]
mov byte [esi], al
mov eax, ecx
shr eax, 4
add eax, ebp
and eax, 0x3f
mov al, byte [eax + edx]
mov byte [esi + 1], al
cmp dword [esp + 0x24], edi
jae 0x566b83
and ecx, 0xf
movsx eax, byte [edx + ecx*4]
jmp 0x566b86
push 0x3d
pop eax
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov byte [esi], 0
sub esi, dword [esp + 0x20]
xor eax, eax
mov dword [ebx], esi
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x57e87c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x67f319
call fcn.00629210
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x57e8a7
mov eax, dword [esi]
jmp 0x57e8a9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x6b7768
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov word [esi + 0x18], bx
call fcn.0046dfa2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x57e8d3
lea eax, [ebp - 0x28]
push 0x6dccd0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00468ecb
push eax
mov ecx, esi
call fcn.004232e6
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0042386b
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0043bead
cmp dword [eax + 0x14], 0x10
jb 0x57e907
mov eax, dword [eax]
push 0x6dccd8
push eax
call fcn.0063a7d1
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040abbf
test edi, edi
je 0x57e94a
push edi
push dword [ebp + 0xc]
mov byte [esi + 0x18], 1
push 1
push dword [ebp + 8]
call fcn.0063ad4b
add esp, 0x10
cmp dword [ebp + 0xc], eax
jne 0x57e943
mov byte [esi + 0x19], 1
push edi
call fcn.0063a223
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x58e175
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x678f78
call fcn.00629210
push ecx
push esi
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00423207
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00423207
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x30], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x32], al
mov eax, esi
mov byte [esi + 0x31], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
mov eax, 0x680562
call fcn.00629210
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x6dfc28
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 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 [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 1
call fcn.005923fa
mov ecx, esi
call fcn.00593719
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x592908
Capabilities:
Get number of processors

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6806b9
call fcn.00629210
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
mov dword [ebp + 0x5c], 7
xor eax, eax
mov dword [ebp + 0x60], ebx
push edi
mov esi, ecx
mov dword [ebp + 0x58], ebx
mov word [ebp + 0x48], ax
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x64]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp + 0x64], 0x75
call fcn.0043b1cf
cmp eax, 0xffffffff
je 0x592972
push dword [esi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0043be56
push eax
lea ecx, [ebp + 0x48]
call fcn.004232e6
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.0042386b
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.00592b84
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x592989
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x30]
call fcn.0040a58f
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0043bead
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x5929af
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.0040a58f
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00434ced
mov edi, eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp]
push eax
call fcn.00434ced
mov ecx, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x5929ea
mov edi, dword [edi]
cmp dword [ecx + 0x14], 0x10
jb 0x5929f2
mov ecx, dword [ecx]
movzx eax, byte [esi + 0x35]
push edi
push eax
push dword [esi + 0x38]
movzx eax, byte [esi + 0x34]
push eax
push dword [esi + 0x30]
push ecx
push 0x6dfc60
push dword [ebp + 0x70]
call fcn.004607cf
add esp, 0x20
lea ecx, [ebp]
push ebx
push 1
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 4
Function at 0x5b175e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x6c
push ebx
xor ebx, ebx
push ebp
mov ebp, ecx
cmp dword [eax + 0xc], ebx
jne 0x5b1839
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ebx
push dword [ebp + 0x1c4]
call fcn.0057f3b3
mov edi, dword [0x68d644]
push eax
push 0x409
push dword [ebp + 0x1c4]
call edi
mov eax, dword [esp + 0x28]
sub dword [esp + 0x30], eax
push ebx
push ebx
push 0x418
push dword [ebp + 0x1c0]
mov dword [esp + 0x38], ebx
call edi
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x5b16e9
lea eax, [esp + 0x18]
push eax
push ebx
push 0x41d
push dword [ebp + 0x1c0]
call edi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
call dword [0x68d84c]
lea edx, [esp + 0x38]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
lea edx, [esp + 0x18]
cmp eax, dword [edx + ecx*4]
lea edx, [esp + 0x38]
jne 0x5b16e9
inc ecx
cmp ecx, 4
jne 0x5b16ce
inc ebx
cmp ebx, esi
jb 0x5b16a0
cmp ebx, esi
je 0x5b1837
call dword [0x68d704]
mov dword [esp + 0x10], eax
cmp ebx, esi
jae 0x5b17f6
xor edi, edi
push 0x30
lea eax, [esp + 0x50]
push edi
push eax
call fcn.0062e000
xor eax, eax
mov dword [esp + 0x58], 0x30
lea edi, [esp + 0x44]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push eax
push ebx
push 0x417
push dword [ebp + 0x1c0]
call dword [0x68d644]
cmp byte [esp + 0x41], 1
jne 0x5b175a
mov dword [esp + 0x50], 0x100
xor edi, edi
mov dword [esp + 0x54], 0x800
jmp 0x5b17d8
push dword [esp + 0x3c]
push 0xf
push str.utw_del
call fcn.005afffc
mov ecx, eax
mov dword [esp + 0x50], 0x1c2
xor edi, edi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x54], edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x5b1781
sub ecx, edx
sar ecx, 1
mov dword [esp + 0x74], ecx
call fcn.0042dbb1
test al, al
je 0x5b17cb
push edi
push dword [esp + 0x3c]
push dword [0x7a14cc]
call dword [0x68d0a4]
push 0x18
mov esi, eax
push 0x18
push esi
call fcn.0057f7f8
push esi
mov dword [esp + 0x7c], eax
call dword [0x68d8e0]
mov esi, dword [esp + 0x14]
jmp 0x5b17d0
or dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4c]
push eax
push 0x400
push ebx
push dword [esp + 0x1c]
call dword [0x68d7c8]
inc ebx
cmp ebx, esi
jb 0x5b1705
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x1c4]
call dword [0x68d7cc]
xor eax, eax
push eax
push dword [ebp + 4]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push 2
push dword [esp + 0x28]
call dword [0x68d720]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4
Function at 0x5b9d30
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x683295
call fcn.00629210
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0057d332
xor edi, edi
mov dword [esi], fcn.00409616
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 1
mov dword [esi + 0x40], edi
call fcn.005c4adb
push edi
lea ecx, [esi + 0x54]
call fcn.005c49b0
xor ecx, ecx
lea eax, [esi + 0xa8]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x84], ecx
mov word [esi + 0x88], cx
mov byte [esi + 0x8f], cl
mov dword [eax + 0x10], ecx
push 8
pop ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], ecx
jb 0x5b9da0
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
push dword [ebp + 8]
xor eax, eax
mov byte [ebp - 4], 3
lea edi, [esi + 0x64]
rep stosd dword es:[edi], eax
inc dword [0x7a1620]
lea ecx, [esi + 0x30]
call fcn.005b9f00
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x58]
mov dword [esi + 0x34], eax
xor edx, edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x3c], edx
pop edi
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
mov dword [esi + 0x5c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x8a], edx
mov byte [esi + 0x8e], 1
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0x9c], edx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5bd00f
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x68351e
call fcn.00629210
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ecx], 0x6e2e68
lea esi, [ecx + 8]
mov dword [ecx + 0x14], 0x1f4
mov dword [esi], 0x32
lea edi, [ecx + 0xc]
mov dword [edi], 0x12c
lea ebx, [ecx + 0x10]
mov dword [ebx], 0x50
mov dword [ecx + 0x18], 0xa
mov dword [ecx + 0x1c], 1
mov word [ecx + 0x20], dx
mov dword [ebp - 4], edx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x38], edx
push 0x6e256c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040a58f
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
add esi, 0x24
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.005bee31
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040abbf
push 0x6e3098
lea ecx, [ebp - 0x2c]
call fcn.0040a58f
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.005bee31
xor edi, edi
mov byte [ebp - 4], 2
push 0
inc edi
lea ecx, [ebp - 0x2c]
push edi
call fcn.0040abbf
push str.closeLRecAd
lea ecx, [ebp - 0x2c]
call fcn.0040a58f
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.005bee31
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040abbf
push 0x6e30bc
lea ecx, [ebp - 0x2c]
call fcn.0040a58f
mov ebx, dword [ebp - 0x10]
lea eax, [ebx + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.005bee31
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040abbf
push 0x6a0954
lea ecx, [ebp - 0x2c]
call fcn.0040a58f
lea eax, [ebx + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.005bee31
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040abbf
push 0x6e3084
lea ecx, [ebp - 0x2c]
call fcn.0040a58f
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.005bee31
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040abbf
push 0x6e3090
lea ecx, [ebp - 0x2c]
call fcn.0040a58f
lea eax, [ebx + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebx + 0x30]
call fcn.005bee31
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040abbf
push 0x6e30d0
lea ecx, [ebp - 0x2c]
call fcn.0040a58f
lea eax, [ebx + 0x21]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebx + 0x30]
call fcn.005bee31
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040abbf
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5bd214
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x683594
call fcn.00629210
sub esp, 0x24
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 8]
mov dword [ecx], 0x6e2e44
xor edx, edx
mov dword [eax], 0x18
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0x10]
mov byte [ecx + 0xc], dl
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], edx
jb 0x5bd253
mov eax, dword [eax]
push ebx
push esi
push edi
mov byte [eax], dl
lea ebx, [ecx + 0x38]
mov dword [ecx + 0x2c], edx
lea edi, [ecx + 0x28]
mov byte [ecx + 0x34], dl
mov dword [edi], edx
lea esi, [ecx + 0x30]
mov dword [esi], edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ecx + 0x44], edx
mov dword [ecx + 0x48], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x50], edx
mov dword [ecx + 0x54], edx
mov dword [ecx + 0x58], edx
push 0x6e3084
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040a58f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.005bee31
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040abbf
push str.promo
lea ecx, [ebp - 0x30]
call fcn.0040a58f
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.005bee31
xor esi, esi
mov byte [ebp - 4], 4
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.0040abbf
push 0x6e30f0
lea ecx, [ebp - 0x30]
call fcn.0040a58f
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.005bee31
push esi
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040abbf
push str.survey_state
lea ecx, [ebp - 0x30]
call fcn.0040a58f
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.005bee31
xor ebx, ebx
mov byte [ebp - 4], 4
push esi
inc ebx
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040abbf
push 0x6e3124
lea ecx, [ebp - 0x30]
call fcn.0040a58f
lea eax, [edi + 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x44]
call fcn.005bee31
push esi
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040abbf
push 0x6e3090
lea ecx, [ebp - 0x30]
call fcn.0040a58f
lea eax, [edi + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x44]
call fcn.005bee31
push esi
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040abbf
push 0x6e3134
lea ecx, [ebp - 0x30]
call fcn.0040a58f
lea eax, [edi + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x50]
call fcn.005bee31
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040abbf
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5e3e4e
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x680fbc
call fcn.00629210
push ecx
push esi
push 0x64
call fcn.006291d8
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x5e3e7d
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.005e3835
mov esi, eax
mov eax, dword [esi + 0x30]
mov ecx, esi
or dword [ebp - 4], 0xffffffff
push dword [eax + 4]
push 0xf
call fcn.0057d4b4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x60f282
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x40
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x48]
push eax
push edi
call dword [0x68d3a8]
test eax, eax
jne 0x60f2a4
mov eax, 0x200
jmp 0x60f425
mov ecx, dword [esp + 0x10]
mov edx, ecx
and edx, 1
push esi
mov esi, edx
test cl, 2
je 0x60f2b8
or esi, 2
test cl, 4
je 0x60f2c0
or esi, 4
mov eax, ecx
and eax, 0x10
je 0x60f2ca
or esi, 0x10
test cl, 0x20
je 0x60f2d2
or esi, 0x20
neg eax
sbb eax, eax
and eax, 0xc0000000
add eax, 0x81000000
or esi, eax
test edx, edx
jne 0x60f2ec
or esi, 0x800000
push ebx
push ebp
xor ebp, ebp
push ebp
push edi
call dword [0x68d44c]
mov ebx, eax
cmp ebx, 0x28
jbe 0x60f39c
push ebp
push ebp
push ebp
mov ebp, dword [0x68d450]
push edi
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x60]
push eax
push edi
call dword [0x68d2b0]
push 0
push 0
push 0x24
push edi
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push edi
call dword [0x68d2b0]
mov eax, 0x54ad
cmp word [esp + 0x54], ax
jne 0x60f39c
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x34]
cmp ebx, eax
jbe 0x60f39c
push 0
push 0
push ecx
push edi
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push edi
call dword [0x68d2b0]
mov eax, dword [esp + 0x18]
cmp eax, 0x5a4d
je 0x60f396
cmp eax, 0x454e
je 0x60f396
cmp eax, 0x454c
je 0x60f396
cmp eax, 0x4550
jne 0x60f39c
or esi, 0x400000
mov eax, dword [esp + 0x58]
test eax, eax
je 0x60f3a6
mov dword [eax], esi
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x60f3b0
mov dword [eax], ebx
mov esi, dword [esp + 0x60]
pop ebp
pop ebx
test esi, esi
je 0x60f3f2
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00610563
push dword [esp + 0x2c]
mov dword [esi], eax
push dword [esp + 0x2c]
mov dword [esi + 4], edx
call fcn.00610563
push dword [esp + 0x1c]
mov dword [esi + 8], eax
push dword [esp + 0x1c]
mov dword [esi + 0xc], edx
call fcn.00610563
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x60f422
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.00610506
movzx ecx, word [esp + 0x4c]
movzx eax, word [esp + 0x50]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
pop esi
pop edi
add esp, 0x40
ret 0x14
Function at 0x60fb28
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x60fb37
xor eax, eax
jmp 0x60fc19
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not ecx
cmp esi, 8
jb 0x60fbf8
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
sub edi, 1
jne 0x60fb51
pop edi
test esi, esi
je 0x60fc14
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6fe880]
inc edx
sub esi, 1
jne 0x60fbfc
not ecx
mov eax, ecx
pop esi
ret 0xc