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

Disassembly:
push 0xffffffffffffffff
push 0x59916b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.TSoundPlayer.0
mov eax, dword [ecx + 8]
lea esi, [ecx + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.00492cc0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.00492fd0
mov eax, dword [esi + 4]
push eax
call fcn.0055d39b
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x494c70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x599530
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
lea eax, [esi + 4]
xor ebx, ebx
push eax
push edi
mov byte [esp + 0x18], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x20], bl
call fcn.0049b740
add esp, 8
neg eax
sbb eax, eax
neg eax
push eax
lea ecx, [esi + 3]
push ecx
push edi
call fcn.0049b740
add esp, 8
neg eax
sbb eax, eax
neg eax
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x44], esp
lea edx, [esi + 2]
push edx
push edi
push ecx
push eax
call fcn.00490fa0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, esp
mov dword [esp + 0x20], esp
lea edx, [esi + 1]
push edx
push edi
push ecx
push eax
mov dword [esp + 0x44], ebx
call fcn.00490fa0
mov eax, dword [esp + 0x38]
add esp, 0xc
mov edx, esp
mov dword [esp + 0x28], esp
push esi
push edi
push eax
push edx
mov byte [esp + 0x48], 1
call fcn.00490fa0
mov ecx, dword [esp + 0x50]
add esp, 0x10
mov dword [esp + 0x38], 0xffffffff
call dword [esp + 0x44]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x495f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5998f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esp
mov dword [esp + 0x10], esp
push ecx
mov byte [esp + 0x10], 0
mov edx, dword [esp + 0x10]
push esi
push edx
push eax
call fcn.00490fa0
mov ecx, dword [esp + 0x34]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.004971d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 2
call fcn.00497320
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004971d0
push esi
call fcn.0046e270
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.00497320
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x498a10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [ecx]
add ecx, 0x8c4
jmp fcn.004ae980

Function at 0x498dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x599d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004988d0
mov eax, dword [eax + 0xc]
test eax, eax
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
jne 0x498e5c
push 0x80
call fcn.0055d3fe
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x498e32
mov ecx, eax
call fcn.004de580
jmp 0x498e34
xor eax, eax
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004988d0
mov ecx, eax
call fcn.004a2c20
push edi
push ebx
mov ecx, esi
call fcn.004988d0
mov ecx, dword [eax + 0xc]
call fcn.0049f280
mov eax, dword [esp + 0x38]
mov ecx, dword [esi]
push eax
push edi
push ebx
call fcn.004dcbc0
call fcn.0049d890
mov ecx, eax
call fcn.0049d220
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
call fcn.004d6a00
lea ecx, [esp + 0x10]
push ecx
call fcn.0049d890
mov ecx, eax
call fcn.0049d910
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x499f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59a029
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov edi, dword [0x614314]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x614310
mov dword [esp + 0x28], 2
call fcn.004992d0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x499f5e
cmp eax, 0x614310
je 0x499f63
call fcn.0055d776
cmp dword [esi + 4], edi
je 0x499f85
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x614310
call fcn.00499a80
mov esi, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.004971d0
jmp 0x499f95
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.004971d0
mov eax, 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov byte [esp + 0x20], al
call fcn.00497320
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call fcn.00497320
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x49ca20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59a2f8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
sub esp, 8
test esi, esi
mov eax, esp
mov dword [eax], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], esp
mov dword [eax + 4], esi
je 0x49ca6d
add dword [esi + 4], 1
mov ecx, dword [ecx]
call fcn.004f3130
test esi, esi
mov bl, al
mov dword [esp + 0x14], 0xffffffff
je 0x49caa0
add dword [esi + 4], 0xffffffff
jne 0x49caa0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add dword [esi + 8], 0xffffffff
jne 0x49caa0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0xc

Function at 0x49cac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59a328
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub esp, 8
test esi, esi
mov eax, esp
mov dword [eax], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], esp
mov dword [eax + 4], esi
je 0x49cb08
add dword [esi + 4], 1
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.004f29c0
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x49cb52
add dword [esi + 4], 0xffffffff
jne 0x49cb52
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
add dword [esi + 8], 0xffffffff
jne 0x49cb52
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c

Function at 0x49f9e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59a7e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5a8554
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5b0938
mov dword [esp + 0x2c], 0
call fcn.00496da0
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004b8670
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [esp + 0x28], 1
call fcn.004971d0
mov ecx, esi
call fcn.0049e8f0
push edi
mov ecx, esi
call fcn.0049f300
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00497320
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4
Function at 0x4a1480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59aa5d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.TWindowManager.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], ebx
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov byte [esi + 0x26], bl
mov byte [esi + 0x27], 1
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], bl
mov dword [esi + 0x2c], ebx
call fcn.0049f6b0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [esp + 0x20], 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
call fcn.004a0d00
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x54]
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.004a0d70
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
push 0xc
mov byte [esp + 0x24], 3
mov dword [esi + 0x60], ebx
call fcn.0055d3fe
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x20], 4
je 0x4a1550
mov ecx, edi
call fcn.004a0e40
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
jmp 0x4a1552
xor edi, edi
push 0xc
mov byte [esp + 0x24], 3
mov dword [esi + 0x18], edi
call fcn.0055d3fe
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x20], 5
je 0x4a1582
mov ecx, edi
call fcn.0049f6b0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
jmp 0x4a1584
xor edi, edi
push 0xc
mov byte [esp + 0x24], 3
mov dword [esi + 0x1c], edi
call fcn.0055d3fe
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x20], 6
je 0x4a15ca
mov ecx, edi
call fcn.0049f6b0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x20], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esi + 0x20], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4a3200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59ad40
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esp
mov dword [esp + 0x10], esp
push ecx
mov byte [esp + 0x10], 0
mov edx, dword [esp + 0x10]
push esi
push edx
push eax
call fcn.00490fa0
mov ecx, dword [esp + 0x34]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.004971d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 2
call fcn.00497320
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004971d0
push esi
call fcn.0046e270
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.00497320
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
jmp 0x4a3200
Function at 0x4a6d60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59b3f9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x2c]
mov dword [esi], vtable.TSprite.0
mov dword [esi + 0xc], ebp
mov byte [esi + 0x10], 1
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esi + 0x1c], ebp
fld1
push ebp
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0x20]
fstp dword [esp]
mov byte [esp + 0x30], 1
call fcn.0049a820
push eax
lea ecx, [esi + 0x20]
call fcn.004010b0
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.00488ea0
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
mov eax, dword [0x6142a4]
push ecx
add eax, 1
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
push 0x5a9180
push ecx
mov byte [esp + 0x34], 2
mov dword [0x6142a4], eax
call fcn.00497f10
add esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.current_sprite_count
mov byte [esp + 0x30], 3
call fcn.00496da0
mov byte [esp + 0x2c], 2
call fcn.00499d50
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4

Function at 0x4a7430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b528
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0xc]
test ecx, ecx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x24], 0
je 0x4a74cf
cmp ecx, esi
jne 0x4a74b2
or edi, 0xffffffff
mov esi, ebp
test esi, esi
mov dword [esp + 0x24], edi
je 0x4a7534
add dword [esi + 4], edi
jne 0x4a7534
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add dword [esi + 8], edi
jne 0x4a7534
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x4a7534
sub esp, 8
test ebp, ebp
mov eax, esp
mov dword [eax], edx
mov dword [esp + 0x20], esp
mov dword [eax + 4], ebp
je 0x4a74c8
add dword [ebp + 4], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov edi, dword [esi + 0x7c]
mov ecx, dword [edi + 4]
add esi, 0x78
lea eax, [esp + 0x2c]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00488ec0
push 1
mov ecx, esi
mov ebx, eax
call fcn.00489280
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov ecx, esi
mov dword [eax], ebx
call fcn.004a71f0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
or edi, 0xffffffff
test ebp, ebp
mov dword [eax + 0xc], edx
mov dword [esp + 0x24], edi
je 0x4a7534
add dword [ebp + 4], edi
jne 0x4a7534
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
add dword [ebp + 8], edi
jne 0x4a7534
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x4aa000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59badc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
push fcn.00497320
push fcn.00496d90
push 5
push 4
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x44], 6
call fcn.0055d9bb
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 7
call fcn.00497360
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
call fcn.00497360
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call fcn.00497360
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00497360
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x28]
call fcn.00497360
lea eax, [esp + 0x14]
push eax
push 5
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004971d0
mov edi, dword [esp + 0x44]
push edi
mov ecx, esi
call fcn.004a9a60
push fcn.00497320
push 5
push 4
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0x40], 6
call fcn.0055d958
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 5
call fcn.00497320
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 4
call fcn.00497320
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 3
call fcn.00497320
lea ecx, [esp + 0x48]
mov byte [esp + 0x30], 2
call fcn.00497320
lea ecx, [esp + 0x4c]
mov byte [esp + 0x30], 1
call fcn.00497320
lea ecx, [esp + 0x50]
mov byte [esp + 0x30], 0
call fcn.00497320
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x1c

Function at 0x4ab410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bd48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 8]
mov ebp, dword [edi + 4]
push eax
mov dword [esp + 0x48], eax
call fcn.0055ce46
push ebp
mov esi, eax
add edi, 0xc
push edi
lea eax, [esp + 0x50]
push eax
push esi
call fcn.004fc9a0
mov ecx, dword [esp + 0x58]
xor eax, eax
add esp, 0x14
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], al
mov byte [esp + 0x25], al
mov dword [esp + 0x14], vtable.TGetCharString.0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.004ab2c0
push esi
call fcn.0055f5cf
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x4acbe0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x59c0f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
xor ebx, ebx
lea eax, [edi + 2]
push eax
mov byte [esp + 0x18], bl
mov edx, dword [esp + 0x18]
push esi
push edx
push ecx
mov byte [esp + 0x28], bl
mov byte [esp + 0x2c], bl
call fcn.00490fa0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
lea eax, [edi + 1]
push eax
push esi
push edx
push ecx
mov dword [esp + 0x3c], ebx
call fcn.00490fa0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, esp
mov dword [esp + 0x20], esp
push edi
push esi
push ecx
push eax
mov byte [esp + 0x40], 1
call fcn.00490fa0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
add esp, 0x10
lea ecx, [eax + edx]
mov dword [esp + 0x30], 0xffffffff
call dword [esp + 0x3c]
movzx ecx, al
push ecx
push esi
call fcn.0049bb40
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x4ae860
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [ecx], eax
mov dword [ecx + 0x9c0], 1
push ebx
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, eax
mov dword [ecx + eax*4], ebx
add dword [ecx + 0x9c0], 1
cmp dword [ecx + 0x9c0], 0x270
jl 0x4ae871
pop ebx
ret 4

Function at 0x4ae980
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [ecx + 0x9c0], 0x270
jl 0x4aea3e
xor eax, eax
push esi
mov edx, dword [ecx + eax*4 + 4]
xor edx, dword [ecx + eax*4]
add eax, 1
and edx, 0x7fffffff
xor edx, dword [ecx + eax*4 - 4]
mov esi, edx
shr edx, 1
and esi, 1
xor edx, dword [esi*4 + 0x6044d8]
xor edx, dword [ecx + eax*4 + 0x630]
cmp eax, 0xe3
mov dword [ecx + eax*4 - 4], edx
jl 0x4ae993
cmp eax, 0x26f
jge 0x4aea04
mov edi, edi
mov edx, dword [ecx + eax*4 + 4]
xor edx, dword [ecx + eax*4]
add eax, 1
and edx, 0x7fffffff
xor edx, dword [ecx + eax*4 - 4]
mov esi, edx
shr edx, 1
and esi, 1
xor edx, dword [esi*4 + 0x6044d8]
xor edx, dword [ecx + eax*4 - 0x390]
cmp eax, 0x26f
mov dword [ecx + eax*4 - 4], edx
jl 0x4ae9d0
mov eax, dword [ecx + 0x9bc]
xor eax, dword [ecx]
pop esi
and eax, 0x7fffffff
xor eax, dword [ecx + 0x9bc]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x6044d8]
xor edx, dword [ecx + 0x630]
shr eax, 1
xor edx, eax
mov dword [ecx + 0x9bc], edx
mov dword [ecx + 0x9c0], 0
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4]
add eax, 1
mov dword [ecx + 0x9c0], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov ecx, edx
and ecx, 0xff3a58ad
shl ecx, 7
xor edx, ecx
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x4aeb10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x59c4b7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esp + 0x18], edi
call fcn.00496d90
lea ecx, [esi + 4]
mov byte [esp + 0x18], 1
call fcn.00496d90
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 8]
mov byte [esp + 0x1c], 2
call fcn.004971d0
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 3
call fcn.00496d90
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 4
call fcn.00496d90
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 5
call fcn.00496d90
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 6
call fcn.00496d90
lea ecx, [esp + 0x20]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x18], 0xffffffff
call fcn.00497320
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 0x4aece0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59c579
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
push 0x5b4840
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 3
call fcn.00496da0
push 0x5b4840
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call fcn.00496da0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 5
call fcn.004974a0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x30], 6
call fcn.004974a0
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x30], 7
call fcn.004974a0
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x3c]
push edx
push esi
mov ecx, eax
mov byte [esp + 0x30], 8
call fcn.004974a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 1
mov byte [esp + 0x28], 7
call fcn.00497320
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call fcn.00497320
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 5
call fcn.00497320
lea ecx, [esp + 8]
mov byte [esp + 0x28], 4
call fcn.00497320
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.00497320
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call fcn.00497320
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 1
call fcn.00497320
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28], 0
call fcn.00497320
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret