joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fc690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69f94c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], ebx
call fcn.00511260
lea ecx, [esi + 0x508]
mov byte [esp + 0x14], 1
call fcn.00511260
lea ecx, [esi + 0x9dc]
mov byte [esp + 0x14], 2
call fcn.00511260
lea ecx, [esi + 0xeb0]
mov byte [esp + 0x14], 3
call fcn.00511260
lea ecx, [esi + 0x1384]
mov byte [esp + 0x14], 4
call fcn.00511260
lea ecx, [esi + 0x1858]
mov byte [esp + 0x14], 5
call fcn.00511260
mov ecx, esi
mov byte [esp + 0x14], 6
call fcn.004fc270
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xffffffe0
mov dword [esi + 0x14], ebx
call dword [0x6a8220]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1d2c], eax
mov byte [esi + 0x18], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x1a], bl
mov byte [esi + 0x1b], bl
mov byte [esi + 0x1c], bl
mov dword [esi + 0x20], ebx
mov byte [esi + 0x19], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x69fa0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov eax, 1
mov dword [esp + 8], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6b0ac8
mov dword [esp + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], al
call fcn.004221b0
lea ecx, [esi + 0xf4]
mov byte [esp + 0x14], 2
call fcn.00511260
lea ecx, [esi + 0x5c8]
mov byte [esp + 0x14], 3
call fcn.00511260
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xaa0], ebx
mov dword [esi + 0xa9c], ebx
mov dword [esi + 0xaa4], ebx
mov dword [esi + 0xaa8], ebx
mov dword [esi + 0xec], ebx
mov byte [esi + 0xf0], bl
mov byte [esi + 0xf1], bl
mov byte [esi + 0xf2], bl
mov dword [esi + 0xaac], ebx
mov dword [esi + 0xab0], ebx
mov byte [esi + 0xe8], 0xff
mov dword [esi + 0xc], 0xc7
mov dword [esi + 0x10], 0x1e9
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x504550
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69fd9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], edi
mov dword [esi], 0x6b0c38
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
push fcn.005113d0
push fcn.00511260
push 2
push 0x4d4
lea eax, [esi + 0x58]
push eax
mov byte [esp + 0x28], 3
call fcn.005bbc4b
lea ecx, [esi + 0xa00]
mov byte [esp + 0x14], 4
call fcn.00517610
lea ecx, [esi + 0xa70]
mov byte [esp + 0x14], 5
call fcn.00514f30
lea ecx, [esi + 0x19cc]
mov byte [esp + 0x14], 6
call fcn.00511260
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x19c4], edi
mov dword [esi + 0x1fa8], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x507310
Capabilities:
Access peb ldr_data
Get ntdll base address
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x69fe66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x6b0df4
lea ebp, [esi + 0x40]
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.00511350
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebx
je 0x507359
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x507369
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
push edi
mov edi, dword [0x6a851c]
je 0x50737a
push eax
call edi
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x507384
push eax
call edi
mov ecx, ebp
mov dword [esi + 0x514], 0x67452301
mov dword [esi + 0x518], 0xefcdab89
mov dword [esi + 0x51c], 0x98badcfe
mov dword [esi + 0x520], 0x10325476
mov dword [esi + 0x524], 0xc3d2e1f0
mov dword [esi + 0x528], ebx
mov dword [esi + 0x52c], ebx
mov byte [esp + 0x1c], bl
call fcn.005113d0
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov dword [esp + 0x1c], 0xffffffff
pop edi
je 0x5073e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x5073f6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x34], ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x507328
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x69fe66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x6b0df4
lea ebp, [esi + 0x40]
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.00511350
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebx
je 0x507359
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x507369
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
push edi
mov edi, dword [0x6a851c]
je 0x50737a
push eax
call edi
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x507384
push eax
call edi
mov ecx, ebp
mov dword [esi + 0x514], 0x67452301
mov dword [esi + 0x518], 0xefcdab89
mov dword [esi + 0x51c], 0x98badcfe
mov dword [esi + 0x520], 0x10325476
mov dword [esi + 0x524], 0xc3d2e1f0
mov dword [esi + 0x528], ebx
mov dword [esi + 0x52c], ebx
mov byte [esp + 0x1c], bl
call fcn.005113d0
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov dword [esp + 0x1c], 0xffffffff
pop edi
je 0x5073e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x5073f6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x34], ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x511010
Capabilities:
Access peb ldr_data
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x69fe66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], 0x6b0df4
mov dword [esp + 8], esi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], ebx
call fcn.00511260
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.005054d0
mov eax, dword [0x6f355c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x190
mov dword [esi + 0xc], eax
mov eax, dword [0x6f3560]
cdq
sub eax, edx
sar eax, 1
add eax, 0xfffffecd
mov dword [esi + 0x10], eax
cmp dword [0x6f355c], 0x320
jne 0x51109c
cmp dword [0x6f3560], 0x258
jne 0x51109c
add eax, 0x1e
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add ecx, 0x1a
add eax, 0xa
mov dword [esi + 0x1c], ecx
mov byte [esi + 0x14], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], eax
mov edx, dword [0x705f40]
push ebx
push edx
push 0x21ee11c
mov ecx, 0x21ee140
call fcn.00505230
lea eax, [esi + 0x594]
mov dword [esi + 0x5d4], eax
mov dword [esi + 0x514], 0x67452301
mov dword [esi + 0x518], 0xefcdab89
mov dword [esi + 0x51c], 0x98badcfe
mov dword [esi + 0x520], 0x10325476
mov dword [esi + 0x524], 0xc3d2e1f0
mov dword [esi + 0x528], ebx
mov dword [esi + 0x52c], ebx
mov eax, dword [0x21f3f98]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x50]
test eax, eax
jne 0x511130
mov ecx, esi
call fcn.00510aa0
mov edx, dword [0x705f3c]
push edx
call dword [0x6a8538]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x15], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x51f360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6a07d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov edx, 7
mov dword [eax + 0x80], edx
mov dword [eax + 0x7c], ecx
mov word [eax + 0x6c], cx
mov dword [eax + 0x9c], edx
mov dword [eax + 0x98], ecx
mov word [eax + 0x88], cx
mov dword [eax + 0xb8], 0xf
mov dword [eax + 0xb4], ecx
mov byte [eax + 0xa4], cl
mov dword [eax + 0x30f4], edx
mov dword [eax + 0x30f0], ecx
mov word [eax + 0x30e0], cx
mov dword [eax + 0x30fc], ecx
mov dword [eax + 0x3100], ecx
mov dword [eax + 0x3104], ecx
mov edx, 1
mov dword [eax + 0x3630], ecx
mov dword [eax + 0x3620], ecx
mov dword [eax + 0x28], ecx
mov byte [eax], cl
mov byte [eax + 0x30], cl
mov dword [eax + 0x34], ecx
mov dword [eax + 0x360c], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov byte [eax + 0xd0], cl
mov dword [eax + 0x3634], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 0x24], 0x14
mov dword [eax + 0x2c], edx
mov dword [eax + 4], 0x1f4
mov dword [eax + 0x3608], edx
mov dword [eax + 0xc4], 0xffffffff
mov dword [eax + 0xc8], 0xffffffff
mov dword [eax + 0xcc], edx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x521850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6a08d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0xc
mov dword [esp + 0x10], edi
lea esi, [edi + 0x14]
call fcn.005b9e72
mov dword [esi + 0x10], eax
xor ebx, ebx
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 4], esi
mov dword [esi + 8], esi
mov dword [esi + 0xc], esi
push 0xc
mov dword [esp + 0x20], ebx
lea esi, [edi + 0x30]
call fcn.005b9e72
mov dword [esi + 0x10], eax
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], ecx
add esp, 8
mov dword [esi + 0x18], ebx
mov dword [esi + 4], esi
mov dword [esi + 8], esi
mov dword [esi + 0xc], esi
lea ecx, [edi + 0x4c]
mov byte [esp + 0x18], 1
call fcn.004445e0
lea ecx, [edi + 0x5c]
mov byte [esp + 0x18], 2
call fcn.00520750
mov ecx, dword [esp + 0x10]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi], ebx
mov dword [edi + 4], 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x521900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6a090c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], 3
call fcn.00521220
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 2
call fcn.005207f0
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 1
call fcn.00444680
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.0059cce0
lea ecx, [edi + 0x10]
call fcn.004432c0
add esi, 0x14
mov ecx, esi
call fcn.0059cce0
lea ecx, [esi + 0x10]
call fcn.004432c0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x546680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x44]
push eax
lea ecx, [esi + 0x38]
push ecx
lea edx, [esi + 0x2c]
push edx
mov ecx, 0x21f3fa0
call fcn.0052bbb0
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x54671c
mov eax, dword [esi + 0xf4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x54671c
mov eax, dword [esi + 0x104]
cmp eax, 0xdc
jge 0x54672e
mov ecx, dword [esi + 0x1dac8]
imul eax, eax, 0x12c
mov edx, dword [esi + 0xf0]
mov ebx, dword [edx + ecx*4]
add eax, 0x21fa2a0
mov edi, eax
mov eax, dword [edi + 0xc]
test eax, eax
lea ecx, [edx + ecx*4]
jne 0x5466ee
mov ecx, edi
call fcn.00543400
test ebx, ebx
jl 0x546701
cmp ebx, dword [edi + 8]
jge 0x546701
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
jne 0x546715
mov eax, dword [0x21f3f98]
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x104]
jmp 0x54672e
call fcn.00527da0
jmp 0x54672e
mov eax, dword [0x21f3f98]
mov edx, dword [eax]
push 0
push 0
push eax
call dword [edx + 0x104]
mov edx, dword [esi + 0xc8]
mov eax, dword [0x21f3f98]
mov ecx, dword [eax]
shl edx, 5
mov edx, dword [edx + 0x6b7b6c]
push edx
push 0x13
push eax
call dword [ecx + 0xe4]
mov edx, dword [esi + 0xcc]
mov eax, dword [0x21f3f98]
mov ecx, dword [eax]
shl edx, 5
mov edx, dword [edx + 0x6b7b6c]
push edx
push 0x14
push eax
call dword [ecx + 0xe4]
mov eax, dword [esi + 0x1dad0]
test eax, eax
je 0x54678c
mov eax, dword [esi + 0x17c]
test eax, eax
jne 0x54678c
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.00544d60
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.005451c0
Function at 0x56de10
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x6a13d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x11b4]
mov dword [esp + 0x14], 1
call fcn.00573200
lea ecx, [esi + 0x105c]
mov byte [esp + 0x14], 0
call fcn.00574320
add esi, 0x20
mov dword [esp + 4], esi
mov eax, dword [esi]
mov dword [esp + 0x14], 2
cmp eax, 0xffffffff
je 0x56df9f
push ebp
push edi
lea edi, [esi + 0x101c]
push edi
call dword [0x6a81f4]
mov eax, dword [esi + 0x1034]
test eax, eax
je 0x56de94
mov ecx, dword [esi + 0x1038]
cmp ecx, eax
mov eax, 0x6f6154
ja 0x56de99
mov eax, 0x222af24
push eax
xor eax, eax
mov ax, word [esi + 0x102a]
xor ecx, ecx
mov cx, word [esi + 0x1028]
push eax
xor edx, edx
xor eax, eax
mov dx, word [esi + 0x1026]
mov ax, word [esi + 0x1024]
push ecx
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1022]
xor edx, edx
mov dx, word [esi + 0x101e]
xor eax, eax
mov ax, word [edi]
push ecx
push edx
push eax
push 0x6f60fc
lea ebp, [esi + 0x1c]
call fcn.005749d0
add esp, 4
push eax
push ebp
call fcn.005baa1d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1030]
not ecx
dec ecx
test eax, eax
je 0x56df37
test ecx, ecx
jle 0x56df67
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x1030]
add edx, 2
mov dword [esi + 0x1030], edx
add dl, 0x43
xor byte [eax], dl
inc eax
lea edx, [edi + eax]
cmp edx, ecx
jl 0x56df19
jmp 0x56df67
test ecx, ecx
jle 0x56df67
mov edi, 0xffffffe4
push ebx
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x102c]
lea edx, [edx + edx*2 + 1]
mov dword [esi + 0x102c], edx
mov bl, byte [eax]
add dl, 0x76
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [eax + edi]
cmp edx, ecx
jl 0x56df45
pop ebx
cmp dword [esi + 0x1034], 0x3e7
je 0x56df85
lea eax, [esp + 0x10]
push 0
push eax
push ecx
mov ecx, dword [esi]
push ebp
push ecx
call dword [0x6a81ac]
mov edx, dword [esi]
push edx
call dword [0x6a81a8]
mov eax, dword [esi]
push eax
call dword [0x6a83c0]
pop edi
mov dword [esi], 0xffffffff
pop ebp
add esi, 4
push esi
call dword [0x6a8310]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x56faa0
Capabilities:
Check for software breakpoints
Encode data using xor

Disassembly:
mov eax, 0x1008
call fcn.005ba830
push ebx
push esi
mov esi, dword [esp + 0x1014]
cmp dword [esi], 0xffffffff
je 0x56fc25
mov eax, dword [esi + 0x1034]
test eax, eax
je 0x56fae7
mov ecx, dword [esp + 0x1018]
cmp byte [ecx], 0x21
je 0x56fae7
mov ecx, dword [esi + 0x1038]
cmp ecx, eax
ja 0x56fc25
inc ecx
mov dword [esi + 0x1038], ecx
lea ebx, [esi + 4]
push ebx
mov dword [esp + 0xc], ebx
call dword [0x6a82ec]
mov eax, dword [esp + 0x1018]
lea edx, [esp + 0x101c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.005bc0c9
add esp, 0xc
lea edx, [esi + 0x101c]
push edx
call dword [0x6a81f4]
mov eax, fcn.005baa1d
cmp byte [eax], 0xcc
je 0x56fc1e
mov ecx, dword [0x6a81ac]
cmp byte [ecx], 0xcc
je 0x56fc1e
xor eax, eax
push ebp
mov ax, word [esi + 0x102a]
lea edx, [esp + 0x14]
push edi
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1028]
xor edx, edx
mov dx, word [esi + 0x1026]
xor eax, eax
mov ax, word [esi + 0x1024]
push ecx
push edx
push eax
push 0x6f6854
lea ebp, [esi + 0x1c]
call fcn.005749d0
add esp, 4
push eax
push ebp
call fcn.005baa1d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1030]
not ecx
dec ecx
test eax, eax
je 0x56fbce
test ecx, ecx
jle 0x56fbf8
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, 2
mov ebx, dword [esi + 0x1030]
add ebx, edx
mov dword [esi + 0x1030], ebx
add bl, 0x43
xor byte [eax], bl
inc eax
lea ebx, [edi + eax]
cmp ebx, ecx
jl 0x56fbad
mov ebx, dword [esp + 0x10]
jmp 0x56fbf8
test ecx, ecx
jle 0x56fbf8
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x102c]
lea edx, [edx + edx*2 + 1]
mov dword [esi + 0x102c], edx
add dl, 0x76
xor byte [eax], dl
inc eax
lea edx, [eax + edi]
cmp edx, ecx
jl 0x56fbdb
lea eax, [esp + 0x14]
push 0
push eax
push ecx
mov ecx, dword [esi]
push ebp
push ecx
call dword [0x6a81ac]
push ebx
call dword [0x6a82e4]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x1008
ret
push ebx
call dword [0x6a82e4]
pop esi
xor al, al
pop ebx
add esp, 0x1008
ret

Function at 0x5707d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x222aee9]
test al, al
je 0x5707e3
xor eax, eax
mov esp, ebp
pop ebp
ret
mov al, byte [ecx + 0x1269]
mov dword [ebp - 4], 0
test al, al
je 0x57080b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov al, byte fs:[0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x572f90
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x240
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx], 0
je 0x572fa5
call fcn.00573150
push ebp
lea eax, [esp + 0x14c]
push 0x104
push eax
call dword [0x6a8188]
mov edi, 0x6f6834
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x14c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x254]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 4]
push esi
push 0x104
call dword [0x6a82e8]
push esi
push 0
push 0x6f7668
push esi
call dword [0x6a8200]
push 0
lea eax, [esp + 0x150]
push esi
push eax
call dword [0x6a81fc]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push esi
call dword [0x6a83bc]
mov edi, eax
cmp edi, 0xffffffff
je 0x573103
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push 0x40
push edx
push edi
call dword [0x6a81c0]
cmp word [esp + 0x14], 0x5a4d
jne 0x5730fc
mov eax, dword [esp + 0x50]
mov ebp, dword [0x6a81c4]
push 0
push 0
push eax
push edi
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x5c]
push 0xf8
push edx
push edi
call dword [0x6a81c0]
cmp dword [esp + 0x54], 0x4550
jne 0x5730fc
cmp dword [esp + 0x88], 0x80000000
jbe 0x5730fc
mov eax, dword [esp + 0x50]
push 0
push 0
push eax
push edi
mov dword [esp + 0x98], 0x10000000
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x5c]
push 0xf8
push edx
push edi
call dword [0x6a81ac]
push edi
call dword [0x6a83c0]
mov edi, dword [0x6a8178]
push 8
push 0
push esi
call edi
test eax, eax
mov dword [ebx], eax
pop ebp
je 0x573128
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x240
ret 4
mov eax, dword [esp + 0x250]
push 8
push 0
push eax
mov byte [esi], 0
call edi
xor ecx, ecx
pop edi
test eax, eax
setne cl
mov dword [ebx], eax
pop esi
mov eax, ecx
pop ebx
add esp, 0x240
ret 4
Function at 0x574930
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
push edi
call dword [0x6a83cc]
test eax, eax
je 0x5749c7
mov ecx, edi
push ebx
and ecx, 0xff
push esi
mov byte [0x222afb9], cl
mov byte [0x222afb8], 1
lea edx, [ecx + ecx*2 + 0x65]
lea ecx, [ecx + ecx*2 + 1]
mov dword [esp + 0x10], edx
mov esi, 4
lea ecx, [ecx + ecx*2]
lea edx, [ecx + 0x65]
inc ecx
test eax, eax
jle 0x57499c
push ebp
sub edi, 0x222afbc
mov ebp, eax
mov bl, byte [edi + esi + 0x222afb8]
lea ecx, [ecx + ecx*2]
mov al, cl
add al, 0x65
xor bl, al
mov byte [esi + 0x222afb8], bl
inc esi
inc ecx
dec ebp
jne 0x574980
pop ebp
mov bl, byte [esp + 0x10]
lea ecx, [esi - 4]
mov eax, ecx
mov byte [esi + 0x222afb8], 0
sar eax, 8
xor al, bl
xor dl, cl
pop esi
mov byte [0x222afba], al
pop ebx
mov byte [0x222afbb], dl
mov eax, 0x222afb8
pop edi
ret
mov eax, 0x222afb8
pop edi
ret

Function at 0x5749d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x5749d9
ret
cmp byte [eax], 1
jne 0x574a34
movsx ecx, byte [eax + 1]
push ebx
mov bl, byte [eax + 2]
lea ecx, [ecx + ecx*2]
push esi
mov dl, cl
push edi
add dl, 0x65
lea ecx, [ecx + ecx*2 + 3]
xor bl, dl
mov dl, cl
mov byte [eax + 2], bl
mov bl, byte [eax + 3]
add dl, 0x65
xor esi, esi
xor bl, dl
xor edx, edx
mov dh, byte [eax + 2]
inc ecx
mov dl, bl
mov byte [eax + 3], bl
mov edi, edx
test edi, edi
jle 0x574a2d
mov bl, byte [esi + eax + 4]
lea ecx, [ecx + ecx*2]
mov dl, cl
add dl, 0x65
xor bl, dl
inc ecx
mov byte [esi + eax], bl
inc esi
cmp esi, edi
jl 0x574a16
mov byte [edi + eax], 0
pop edi
pop esi
pop ebx
ret