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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x599c18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4ae159
inc eax
mov dword [esi + 0x10], eax
jmp 0x4ae26c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4ae16d
mov eax, 0xffffffc7
jmp 0x4ae26e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4ae17e
cmp dword [esi + 8], eax
jne 0x4ae16d
cmp dword [esi + 8], eax
jne 0x4ae197
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4ae197
mov eax, 0xffffffc7
jmp 0x4ae26e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4ae1ab
push eax
mov ecx, ebx
call fcn.004ad950
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00477450
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4ae1dc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00477470
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004ad0c0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4ae20f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x689a10
call fcn.00477650
mov eax, dword [esp + 0x38]
jmp 0x4ae26e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004adf80
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4ae253
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004adfa0
mov esi, eax
test esi, esi
jne 0x4ae283
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004adf80
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4ae225
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x689a10
call fcn.00477650
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x689a10
call fcn.00477650
mov eax, esi
jmp 0x4ae26e
Function at 0x4be9a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59a508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x59f688]
push 0
lea ecx, [esp + 0x20]
call fcn.0058fcb7
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004be300
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0058fbe5
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0058c3cb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0058c3cb
push 1
push 0
push 0
mov ecx, esi
call fcn.0058c373
push 1
push 0
push 1
mov ecx, esi
call fcn.0058c373
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0058fd29
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4beb20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59a528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0058fcb7
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004be300
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0058fbe5
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x59f688]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4bebe4
cmp dword [esp + 0x40], 1
jne 0x4bebe2
cmp ecx, eax
jge 0x4bebe4
mov eax, ecx
cmp eax, 0xc8
jge 0x4bebf0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004be9a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x59f630]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0058fd29
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4bf3e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59a5d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0058a7e6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x68b4b0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x68b3f8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x59f154]
push eax
mov ecx, edi
call fcn.0058ff5f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00591660
test eax, eax
je 0x4bf4fc
mov ecx, dword [esp + 0x3c]
call fcn.0058ff8c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x59f6a8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4bf4c0
push edi
mov ecx, esi
call fcn.0058d546
mov ecx, esi
call fcn.004bf6a0
cmp dword [esp + 0x38], 1
jne 0x4bf4f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0058d6b0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4c16e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4c1713
push esi
call fcn.004cf870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4c170c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4c1799
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4c1782
mov eax, dword [esi + 8]
test eax, eax
je 0x4c1737
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4c177e
cmp eax, 2
je 0x4c1782
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4c172a
cmp eax, 3
je 0x4c175d
cmp eax, 1
jne 0x4c172a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4c172a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4c172a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004c17c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4c17a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004c17c0
add esp, 4
pop esi
ret
Function at 0x4e04e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d880
push 0x578084
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00576310
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e12c0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.00576c30
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push 0x6cbcc8
push ecx
call fcn.005781ad
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [0x59f288]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e146d
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [0x59f28c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x4e146d
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.004e1480
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.004e1480
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.004e1480
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.004e1480
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x4e146d
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [0x59f374]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x4ebc30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004eb850
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.004eb870
push 0
mov ecx, esi
call fcn.004ebbb0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x4ebd68
lea ecx, [esp + 0xc]
call fcn.004a30f0
cmp eax, 1
jae 0x4ebcb7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00512e40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4ebd04
push 0
lea ecx, [esp + 0x10]
call fcn.004b22b0
push eax
push edi
mov ecx, 0x70c2dc
call fcn.004eb480
test eax, eax
jne 0x4ebd0c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00512e40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.004eb870
push edi
mov ecx, 0x70c2dc
call fcn.004eb3e0
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.004ebb30
push eax
call dword [0x59f288]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4ebd68
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [0x59f238]
test eax, eax
mov dword [esi + 4], eax
je 0x4ebd68
push 0
push 0
push 0
push 2
push eax
call dword [0x59f234]
test eax, eax
mov dword [esi + 8], eax
jne 0x4ebd98
push 1
mov ecx, esi
call fcn.004ebbb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00512e40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00512e40
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4ee018
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59ba99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004f0ad0
lea edi, [esi + 0x108]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0xc]
mov dword [edi], 0x68e320
call fcn.00587895
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 1
call fcn.00587895
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.004f0690
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 3
call fcn.004f0690
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 4
call fcn.00587895
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 5
call fcn.00587895
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 6
call fcn.004f0690
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 7
call fcn.004f0690
mov dword [edi], 0x68e318
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 8
call fcn.004f0ad0
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 9
call fcn.004f0ad0
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 0xa
call fcn.004f0ad0
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0xb
call fcn.004f0ad0
lea ecx, [esi + 0x654]
mov byte [esp + 0x18], 0xc
call fcn.004f0ad0
mov ecx, esi
mov byte [esp + 0x18], 0xd
mov dword [esi], 0x68e260
call fcn.004ee340
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4ee200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bbab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x68e260
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.004f0ca0
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.004f0ca0
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.004f0ca0
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.004f0ca0
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.004f0ca0
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0x68e328
call fcn.004f0890
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0x68e328
call fcn.004f0890
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.005878be
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.005878be
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x68e328
call fcn.004f0890
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x68e328
call fcn.004f0890
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.005878be
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.005878be
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004f0ca0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x508a80
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59d010
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x508c27
mov ecx, dword [0x6d8bd4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x508b7c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.005077a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0058921e
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.005890e5
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6cf48c
call fcn.00589153
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00507b60
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0058921e
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.005890e5
lea ecx, [esp + 0xc]
call fcn.005895f9
mov ecx, dword [esp + 0xc]
push 0x6cfecc
push ecx
call fcn.00576344
add esp, 8
test eax, eax
je 0x508ba4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x508add
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.005890e5
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005890e5
jmp 0x508c2b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00508820
test eax, eax
push 0
je 0x508c0f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00506ec0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x508bf5
cmp eax, 0x64
jg 0x508be3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x59f360]
mov esi, eax
jmp 0x508b80
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x59f360]
mov esi, eax
jmp 0x508b80
cmp eax, 0x64
jge 0x508b7c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x59f360]
mov esi, eax
jmp 0x508b80
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00506ec0
mov esi, eax
jmp 0x508b80
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x508c35
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x511460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59d3c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00511010
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00511090
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00511090
lea ecx, [esi + 0xc]
call fcn.00589070
lea ecx, [esi + 0x10]
call fcn.00589070
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00512620
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00512620
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00512620
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005890e5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005890e5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x513020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59d6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004eb850
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.004eb870
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00512f50
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00512e40
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x513038
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59d6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004eb850
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.004eb870
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00512f50
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00512e40
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x5158a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5158ab
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x5159ae
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x6912b4]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6912b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6912b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6912b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6912b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6912b4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6912b4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6912b4]
xor eax, edx
inc ecx
dec edi
jne 0x5158c6
pop edi
test esi, esi
je 0x5159d0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6912b4]
xor eax, edx
inc ecx
dec esi
jne 0x5159b2
pop esi
pop ebx
not eax
ret

Function at 0x51a8c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x51a8f3
push esi
call fcn.0051f710
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x51a8ec
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x51a979
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x51a962
mov eax, dword [esi + 8]
test eax, eax
je 0x51a917
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x51a95e
cmp eax, 2
je 0x51a962
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x51a90a
cmp eax, 3
je 0x51a93d
cmp eax, 1
jne 0x51a90a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x51a90a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x51a90a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0051a9b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x51a999
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0051a9b0
add esp, 4
pop esi
ret