joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5eb3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
push 1
push edi
lea ecx, [esp + 0x30]
call fcn.00474790
cmp dword [esp + 0x40], 8
mov eax, dword [eax + 0x14]
lea eax, [eax + eax + 0xc]
mov dword [esp + 0x24], eax
jb 0x474a64
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0059b877
add esp, 4
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x20], ebp
xor ebx, ebx
mov edi, edi
mov eax, dword [edi + 0x14]
cmp eax, ebp
je 0x474ad5
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x474ad5
mov eax, dword [edi + 0x14]
cmp eax, ebp
je 0x474ab2
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x474ab7
call fcn.005b8b18
mov ecx, dword [edi + 0x14]
add ecx, ebx
call fcn.00474a10
mov edx, dword [esp + 0x20]
lea eax, [edx + eax + 4]
add esi, 1
mov dword [esp + 0x20], eax
add ebx, 0x44
jmp 0x474a70
xor esi, esi
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.00428ee0
test eax, eax
jbe 0x474bbb
mov dword [esp + 0x28], 0x61106c
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 4]
test eax, eax
je 0x474b1b
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x474b20
call fcn.005b8b18
mov ebx, dword [edi + 4]
add ebx, dword [esp + 0x1c]
lea esi, [esp + 0x44]
mov eax, ebx
call fcn.0046bd30
cmp dword [esp + 0x5c], 8
mov eax, dword [eax + 0x14]
lea esi, [ebp + eax*2 + 6]
jb 0x474b4d
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0059b877
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x28]
mov dword [esp + 0x68], eax
push edx
mov eax, ebx
call fcn.0046ba40
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], 0xffffffff
lea ebp, [esi + eax + 4]
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x28], 0x61106c
je 0x474b9c
push eax
call fcn.0059b877
add esp, 4
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x70
add esi, 1
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.00428ee0
cmp esi, eax
jb 0x474af6
mov ecx, dword [esp + 0x20]
lea eax, [ecx + ebp]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x488d40
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.005bacd5
mov ecx, dword [esp + 0x20]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x488d63
xor eax, eax
pop ecx
ret
call dword [0x5fd374]
test eax, eax
jne 0x488d72
mov eax, 1
pop ecx
ret
Function at 0x498d40
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5dfdd9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.00559c90
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.004c0480
mov byte [esp + 0x54], 2
mov dword [edi], 0x498c80
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.00559c90
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x498e46
test al, 1
jne 0x498e3e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498e3e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x498e6f
test al, 1
jne 0x498e6f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x498e6f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret

Function at 0x49ad00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e01c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004154d0
mov dword [esi], 0x6157a8
test edi, edi
mov dword [esp + 0x18], 0
je 0x49ad4a
add edi, 0x28
jmp 0x49ad4c
xor edi, edi
mov dword [esi + 0x28], 0x6051ec
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x49ad64
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], 0x615764
mov dword [esi + 0x28], 0x615770
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x49d570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e31e9
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov edi, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], ebx
call fcn.005d95d0
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x38], eax
mov byte [edi + 4], bl
mov dword [esp + 0x74], ebx
push ebp
lea esi, [esp + 0x48]
mov dword [esp + 0x40], 1
call fcn.004a90b0
mov esi, 1
cmp dword [esp + 0x44], esi
jne 0x49d6b8
push 0x5b
mov eax, esi
call fcn.004192a0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
lea eax, [esp + 0x44]
call fcn.004a8980
push ebx
mov dword [esp + 0x78], esi
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.00432230
mov byte [esp + 0x74], bl
cmp dword [esp + 0x30], 0x10
jb 0x49d637
mov eax, dword [esp + 0x1c]
push eax
call fcn.0059b877
add esp, 4
push 0x5d
mov eax, 1
call fcn.004192a0
push 0x3a
mov eax, 1
call fcn.004192a0
movzx eax, word [ebp + 2]
push eax
call dword [0x5fd71c]
movzx eax, ax
movzx eax, ax
cdq
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.004b02e0
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov ax, word [eax + 0x14]
mov word [esp + 0x38], ax
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x49d6a2
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
jmp 0x49d765
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
lea eax, [esp + 0x44]
call fcn.004a8980
push ebx
push eax
or eax, 0xffffffff
mov esi, edi
mov dword [esp + 0x7c], 2
call fcn.00432230
mov byte [esp + 0x74], bl
cmp dword [esp + 0x30], 0x10
jb 0x49d6f5
mov edx, dword [esp + 0x1c]
push edx
call fcn.0059b877
add esp, 4
push 0x3a
mov eax, 1
call fcn.004192a0
movzx eax, word [ebp + 2]
push eax
call dword [0x5fd71c]
movzx eax, ax
movzx eax, ax
cdq
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004b02e0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
mov dx, word [eax + 0x14]
lea eax, [esp + 0x24]
mov word [esp + 0x38], dx
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x49d754
sub eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, edi
call fcn.004320d0
mov eax, edi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005b88a9
add esp, 0x64
ret
Function at 0x4a00a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ee47c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x2d4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2e4]
mov esi, dword [esp + 0x2ec]
mov ebp, dword [esp + 0x2e8]
push ebx
mov edi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.004a0010
add esp, 4
test al, al
je 0x4a02ee
mov ecx, ebp
call fcn.0049ff40
mov eax, dword [esi]
neg eax
sbb eax, eax
test eax, fcn.00489120
jne 0x4a02fc
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call fcn.004a15b0
mov dword [esp + 0x2dc], 0
cmp byte [esp + 0x2c8], 0
jne 0x4a02dc
mov ebp, 0x10
lea ecx, [ecx]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x74]
call fcn.004a1760
push 2
mov byte [esp + 0x2e0], 1
mov eax, dword [esp + 0x70]
push 0x6157b4
xor ebx, ebx
lea ecx, [esp + 0x60]
call fcn.00437100
test eax, eax
je 0x4a0254
mov eax, dword [esp + 0x6c]
push 1
push 0x6157b8
lea ecx, [esp + 0x60]
call fcn.00437100
test eax, eax
je 0x4a0254
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x5c]
call fcn.004a0a90
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x5c]
mov byte [esp + 0x2e0], 2
call fcn.004a0a90
add esp, 4
push esi
push edi
push eax
mov byte [esp + 0x2e8], 3
call fcn.004a00a0
add esp, 0xc
cmp dword [esp + 0x38], ebp
jb 0x4a01f9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0059b877
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov byte [esp + 0x2dc], 1
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
jb 0x4a0227
mov edx, dword [esp + 0x40]
push edx
call fcn.0059b877
add esp, 4
mov eax, dword [esi]
neg eax
sbb eax, eax
test eax, fcn.00489120
jne 0x4a02bd
mov byte [esp + 0x2dc], bl
cmp dword [esp + 0x70], ebp
jb 0x4a0271
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0059b877
add esp, 4
jmp 0x4a0271
mov byte [esp + 0x2dc], 0
cmp dword [esp + 0x70], ebp
jb 0x4a026f
mov edx, dword [esp + 0x5c]
push edx
call fcn.0059b877
add esp, 4
xor ebx, ebx
mov dword [esi], ebx
call fcn.005d95d0
mov ecx, dword [esp + 0x74]
mov dword [esi + 4], eax
lea eax, [esp + 0x78]
push eax
push ecx
call dword [0x5fd0f8]
test eax, eax
jne 0x4a02ae
mov byte [esp + 0x2c8], 1
call dword [0x5fd374]
mov edi, eax
cmp edi, 0x12
je 0x4a02ae
call fcn.005d95d0
mov dword [esi], edi
mov dword [esi + 4], eax
cmp byte [esp + 0x2c8], bl
je 0x4a0150
jmp 0x4a02dc
cmp dword [esp + 0x70], ebp
jb 0x4a02d0
mov edx, dword [esp + 0x5c]
push edx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x4a02fc
push eax
call dword [0x5fd0fc]
jmp 0x4a02fc
cmp dword [esi], 0
jne 0x4a02fc
mov edx, ebp
mov ecx, ebx
call fcn.004a0330
mov ecx, dword [esp + 0x2d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.005b88a9
add esp, 0x2cc
ret
Function at 0x4a1760
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5e7bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
add edx, 0x30
mov eax, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a17a7
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x1c]
call fcn.00402770
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.004b1dd0
cmp dword [esp + 0x2c], 8
jb 0x4a17e0
mov eax, dword [esp + 0x18]
push eax
call fcn.0059b877
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x4a3330
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5e6d8c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], 0x615ad8
mov ecx, esi
mov dword [esp + 0x14], 4
call fcn.004a33d0
push 0x4a3120
push 3
push 0xc
lea eax, [esi + 0xc8]
push eax
mov byte [esp + 0x24], 3
call fcn.005ba04a
push 0x4a3320
push 4
push 0x24
lea ecx, [esi + 0x38]
push ecx
mov byte [esp + 0x24], 2
call fcn.005ba04a
lea edi, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004a60a0
lea edx, [esi + 0x18]
push edx
call dword [0x5fd180]
mov dword [esi], 0x615aa0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4a6b50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5eac2f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], 0x615a90
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x30]
mov byte [esp + 0x24], 3
push eax
mov dword [esi + 0x2c], ebx
call fcn.004a8400
mov edi, eax
call fcn.005d95d0
mov dword [esp + 0x10], edi
neg edi
sbb edi, edi
test edi, fcn.00489120
mov dword [esp + 0x14], eax
je 0x4a6be3
lea ecx, [esp + 0x10]
push ecx
mov edx, str.mutex
call fcn.004a6540
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
or ecx, 0xffffffff
mov byte [esp + 0x24], 5
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x30]
ja 0x4a6c06
lea eax, [esp + 0x34]
mov edx, dword [eax]
push edx
push ebx
push ebx
push ecx
call dword [0x5fd21c]
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x4a6c49
call dword [0x5fd374]
mov edi, eax
mov dword [esp + 0x10], edi
call fcn.005d95d0
neg edi
sbb edi, edi
test edi, fcn.00489120
mov dword [esp + 0x14], eax
je 0x4a6c49
lea eax, [esp + 0x10]
push eax
mov edx, str.iocp
call fcn.004a6540
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0xc
Function at 0x4a8540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
mov esi, eax
call dword [0x5fd15c]
mov ebx, eax
test ebx, ebx
mov dword [esi + 4], ebx
jne 0x4a859f
call dword [0x5fd374]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x10], edi
call fcn.005d95d0
neg edi
sbb edi, edi
test edi, fcn.00489120
mov dword [esp + 0x14], eax
je 0x4a859f
lea eax, [esp + 0x10]
push eax
mov edx, str.thread.entry_event
call fcn.004a6540
push 0
push 0
push 1
push 0
call dword [0x5fd15c]
mov edi, dword [ebp + 8]
mov dword [edi + 8], eax
mov dword [esi + 8], eax
cmp dword [edi + 8], 0
jne 0x4a85f9
call dword [0x5fd374]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x10], edi
call fcn.005d95d0
neg edi
sbb edi, edi
test edi, fcn.00489120
mov dword [esp + 0x14], eax
je 0x4a85f6
lea ecx, [esp + 0x10]
push ecx
mov edx, str.thread.exit_event
call fcn.004a6540
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x4a86a0
push eax
push 0
mov dword [esp + 0x24], 0
call fcn.005bacd5
add esp, 0x18
test eax, eax
mov dword [edi + 4], eax
jne 0x4a867c
call dword [0x5fd374]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x4a8642
push ebx
call dword [0x5fd3a4]
mov edi, dword [edi + 8]
test edi, edi
je 0x4a8650
push edi
call dword [0x5fd3a4]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.005d95d0
neg esi
sbb esi, esi
test esi, fcn.00489120
mov dword [esp + 0x14], eax
je 0x4a867c
lea ecx, [esp + 0x10]
push ecx
mov edx, str.thread
call fcn.004a6540
test ebx, ebx
je 0x4a8690
push 0xffffffffffffffff
push ebx
call dword [0x5fd3a0]
push ebx
call dword [0x5fd3a4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x5dff98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004154d0
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esi], 0x615ae8
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov byte [ecx + 4], dl
call fcn.0040b390
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4abaf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dff98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004154d0
test edi, edi
mov dword [esp + 0x18], 0
je 0x4abb34
add edi, 0x28
jmp 0x4abb36
xor edi, edi
mov dword [esi + 0x28], 0x6051ec
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4abb4e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], 0x605278
mov dword [esi + 0x28], 0x605270
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4abbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dff68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00405390
mov dword [esi], 0x605350
test edi, edi
mov dword [esp + 0x18], 0
je 0x4abc0a
add edi, 0x28
jmp 0x4abc0c
xor edi, edi
mov dword [esi + 0x28], 0x6051ec
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4abc24
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], 0x6052b0
mov dword [esi + 0x28], 0x6052a8
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4abd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dff68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00405390
mov dword [esi], 0x60535c
test edi, edi
mov dword [esp + 0x18], 0
je 0x4abdca
add edi, 0x28
jmp 0x4abdcc
xor edi, edi
mov dword [esi + 0x28], 0x6051ec
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4abde4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], 0x6052e8
mov dword [esi + 0x28], 0x6052e0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4abe70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dff68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00405390
mov dword [esi], 0x605368
test edi, edi
mov dword [esp + 0x18], 0
je 0x4abeba
add edi, 0x28
jmp 0x4abebc
xor edi, edi
mov dword [esi + 0x28], 0x6051ec
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4abed4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], 0x605320
mov dword [esi + 0x28], 0x605318
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4ad390
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
cmp edi, dword [esp + 8]
je 0x4ad416
mov ecx, dword [0x6542b0]
push ebx
mov ebx, dword [0x6542a8]
push ebp
mov ebp, dword [0x6542ac]
push esi
mov esi, dword [0x64ebc8]
mov eax, esi
shl eax, 0xb
xor eax, esi
mov edx, ecx
shr edx, 0xb
xor edx, eax
shr edx, 8
xor edx, ecx
xor edx, eax
mov esi, ebx
mov ebx, ebp
mov ebp, ecx
mov ecx, edx
mov eax, 0xd41d41d5
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x46
mov edx, ecx
sub edx, eax
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz__.___]
mov byte [edi], al
add edi, 1
cmp edi, dword [esp + 0x14]
jne 0x4ad3b4
mov dword [0x64ebc8], esi
pop esi
mov dword [0x6542ac], ebp
pop ebp
mov dword [0x6542a8], ebx
mov dword [0x6542b0], ecx
pop ebx
pop edi
ret