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

Disassembly:
push 0xffffffffffffffff
push 0x58f648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x3c]
xor edi, edi
push edi
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x28], esi
call fcn.0047baf0
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi], 0x5b9e80
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x47c660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58f6c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x2c]
lea ebp, [eax + 8]
xor edi, edi
push edi
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x54], ebp
call fcn.0047baf0
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x30]
mov dword [esi + 0x4c], eax
shl eax, 2
push eax
mov dword [esi], 0x5b8ee0
mov dword [esi + 0x48], edi
call fcn.0056c3b7
mov ecx, dword [esi + 0x4c]
shl ecx, 2
push ecx
mov dword [esi + 0x50], eax
call fcn.0056c3b7
mov edi, dword [esi + 0x4c]
lea edx, [edi*8]
push edx
mov dword [esi + 0x54], eax
call fcn.0056c3b7
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], 1
test ebx, ebx
je 0x47c727
dec edi
mov ebp, ebx
js 0x47c721
inc edi
lea ebx, [ebx]
push 0
push 0
mov ecx, ebp
call fcn.004b2e60
add ebp, 8
dec edi
jne 0x47c710
mov ebp, dword [esp + 0x34]
jmp 0x47c729
xor ebx, ebx
mov byte [esp + 0x1c], 0
mov ecx, dword [esi + 0x4c]
xor eax, eax
test ecx, ecx
mov dword [esi + 0x58], ebx
jle 0x47c76c
mov ecx, ebp
lea esp, [esp]
mov edi, dword [ecx - 8]
mov edx, dword [esi + 0x50]
mov dword [edx + eax*4], edi
mov edi, dword [ecx - 4]
mov edx, dword [esi + 0x54]
mov dword [edx + eax*4], edi
mov edi, dword [ecx]
mov edx, dword [esi + 0x58]
mov dword [edx + eax*8], edi
mov edi, dword [ecx + 4]
mov dword [edx + eax*8 + 4], edi
mov edx, dword [esi + 0x4c]
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x47c740
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x4811f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5903c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [ecx]
sub esp, 0x14
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0047ac20
mov dword [esp + 0x18], 0
push 0
lea edi, [esi + 0x4c]
push 0
mov ecx, edi
mov dword [esi], 0x5ba498
call fcn.004b2e60
push 0
lea ebx, [esi + 0x54]
push 0
mov ecx, ebx
call fcn.004b2e60
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi], edx
mov edx, dword [esp + 0x34]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x18

Function at 0x4812b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5903c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [ecx]
sub esp, 0x14
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0047ac20
mov dword [esp + 0x18], 0
push 0
lea edi, [esi + 0x4c]
push 0
mov ecx, edi
mov dword [esi], 0x5ba520
call fcn.004b2e60
push 0
lea ebx, [esi + 0x54]
push 0
mov ecx, ebx
call fcn.004b2e60
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi], edx
mov edx, dword [esp + 0x34]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x5903f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x5baa20
xor eax, eax
mov dword [esp + 0x18], eax
mov esi, dword [edi + 0x30]
cmp esi, eax
mov dword [esp + 0xc], esi
je 0x4818cd
mov byte [esp + 0x18], al
mov eax, dword [esi + 0x20]
push eax
call fcn.0056c3bc
push esi
call fcn.0056c3bc
add esp, 8
mov dword [esp + 0x18], 0xffffffff
mov ecx, edi
call fcn.004c24f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48a650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591d8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x34], esi
call fcn.004b2cf0
mov dword [ebp - 4], 0
mov dword [esi], 0x5bb320
mov ebx, 1
mov byte [ebp - 4], bl
mov al, byte [ebp + 8]
mov byte [esi + 0x2c], al
mov ecx, dword [0x641a60]
push ecx
mov edx, dword [0x641a5c]
push edx
mov ecx, esi
call fcn.004bbc90
push 0x68
call fcn.0056c38c
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x48a6d0
push 0
push 0x1d
mov ecx, eax
call fcn.0046e460
jmp 0x48a6d2
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
push 0x4c
call fcn.0056c38c
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x48a731
mov ecx, dword [str.Please_enter_a_character_name:]
push ecx
sub esp, 0x14
mov edx, esp
mov ecx, dword [0x64168c]
mov dword [edx], ecx
mov ecx, dword [0x641690]
mov dword [edx + 4], ecx
mov ecx, dword [0x641694]
mov dword [edx + 8], ecx
mov ecx, dword [0x641698]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x64169c]
mov dword [edx + 0x10], ecx
mov ecx, eax
call fcn.0047ac20
jmp 0x48a733
xor eax, eax
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], bl
mov dword [ebp - 0x20], edi
mov edx, dword [esi + 0x30]
push edx
mov ecx, esi
call fcn.004bbf10
push edi
mov ecx, esi
call fcn.004bbf10
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x641a64]
mov dword [eax], ecx
mov edx, dword [0x641a68]
mov dword [eax + 4], edx
mov ecx, dword [0x641a6c]
mov dword [eax + 8], ecx
mov edx, dword [0x641a70]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004bf3c0
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x641a74]
mov dword [ecx], edx
mov eax, dword [0x641a78]
mov dword [ecx + 4], eax
mov edx, dword [0x641a7c]
mov dword [ecx + 8], edx
mov eax, dword [0x641a80]
mov dword [ecx + 0xc], eax
push edi
mov ecx, esi
call fcn.004bf3c0
push ebx
mov ecx, dword [esi + 0x30]
call fcn.0046fd10
mov ecx, esi
call fcn.004bda60
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48da30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5928bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
call fcn.004b2cf0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], 0x5bb568
mov bl, 1
mov byte [ebp - 4], bl
mov eax, dword [0x641be8]
push eax
mov ecx, dword [0x641be4]
push ecx
mov ecx, esi
call fcn.004bbc90
mov dword [esi + 0x34], edi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
cmp eax, 5
ja case.default.0x48da90
jmp dword [eax*4 + 0x48dd64]
mov edi, dword [str.Downloading_new_program_version]
jmp 0x48daee
mov edi, dword [str.Downloading_new_patcher]
jmp 0x48daee
mov edi, dword [str.Downloading_new_error_dialog]
jmp 0x48daee
mov edi, dword [str.Downloading_new_object_data]
jmp 0x48daee
mov edi, dword [str.Downloading_new_object_graphics]
jmp 0x48daee
mov edi, dword [str.Downloading_new_pictures]
jmp 0x48daee
push edi
push eax
call fcn.00503c60
push eax
push str.Downloading__s
push 0xfa
lea edx, [ebp - 0x2ac]
push edx
call fcn.005514f0
add esp, 0x18
lea edi, [ebp - 0x2ac]
mov dword [ebp - 0x14], edi
push 0x4c
call fcn.0056c38c
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x48db41
push edi
sub esp, 0x14
mov ecx, esp
mov edx, dword [0x641678]
mov dword [ecx], edx
mov edx, dword [0x64167c]
mov dword [ecx + 4], edx
mov edx, dword [0x641680]
mov dword [ecx + 8], edx
mov edx, dword [0x641684]
mov dword [ecx + 0xc], edx
mov edx, dword [0x641688]
mov dword [ecx + 0x10], edx
mov ecx, eax
call fcn.0047ac20
jmp 0x48db43
xor eax, eax
mov edi, eax
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], bl
mov dword [ebp - 0x1c], edi
push edi
mov ecx, esi
call fcn.004bbf10
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x641bec]
mov dword [eax], ecx
mov edx, dword [0x641bf0]
mov dword [eax + 4], edx
mov ecx, dword [0x641bf4]
mov dword [eax + 8], ecx
mov edx, dword [0x641bf8]
mov dword [eax + 0xc], edx
push edi
mov ecx, esi
call fcn.004bf3c0
push 0x2c
call fcn.0056c38c
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x48dba4
mov ecx, eax
call fcn.00464c60
jmp 0x48dba6
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], bl
mov dword [esi + 0x30], ecx
push 0x64
call fcn.0047a130
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004bbf10
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x641c0c]
mov dword [ecx], edx
mov eax, dword [0x641c10]
mov dword [ecx + 4], eax
mov edx, dword [0x641c14]
mov dword [ecx + 8], edx
mov eax, dword [0x641c18]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x30]
push ecx
mov ecx, esi
call fcn.004bf3c0
mov ecx, esi
call fcn.004bda60
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x498540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.004b2cf0
mov dword [ebp - 4], 0
mov dword [esi], 0x5ba840
mov bl, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x641b98]
push ecx
mov edx, dword [0x641b94]
push edx
mov ecx, esi
call fcn.004bbc90
push 0x7c
call fcn.0056c38c
add esp, 4
mov edi, eax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4985db
push 0xb
push esi
lea ecx, [ebp - 0x34]
call fcn.004b2e60
mov ecx, dword [0x6404b4]
push ecx
mov edx, dword [0x6404b0]
push edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov ecx, edi
call fcn.0047f570
jmp 0x4985dd
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
push eax
mov ecx, esi
call fcn.004bbf10
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x641b9c]
mov dword [eax], ecx
mov edx, dword [0x641ba0]
mov dword [eax + 4], edx
mov ecx, dword [0x641ba4]
mov dword [eax + 8], ecx
mov edx, dword [0x641ba8]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004bf3c0
mov ecx, esi
call fcn.0048c310
mov ecx, esi
call fcn.004bda60
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a0b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x595e03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004b2cf0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], 0x5bc648
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
xor eax, eax
mov dword [esi + 0x2c], eax
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x30], ecx
xor edi, edi
mov dword [esi + 0x34], edx
push 0xfc
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], edi
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], 1
mov dword [esi + 8], 9
call fcn.0056c3b7
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x4a0ba4
lea ecx, [eax + 8]
mov edx, 9
mov dword [ecx - 8], ebx
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
add ecx, 0x1c
dec edx
jne 0x4a0b88
jmp 0x4a0ba6
xor eax, eax
mov byte [esp + 0x1c], bl
mov dword [esi + 4], eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x504980
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004f7210
mov dword [ebp - 4], 0xffffffff
call fcn.00507c50
cmp eax, 1
je 0x5049cd
mov dword [ebp - 4], 2
push 1
call fcn.004c7bd0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 4
push 0
call fcn.00504880
mov ecx, eax
call fcn.0056f7ba
mov dword [ebp - 4], 0xffffffff
push 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0055bb80
mov eax, 0x5049ab
ret
Function at 0x534e10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], bl
mov eax, dword [ebp + 8]
mov dword [0x7d5574], eax
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x3c], 0x28
mov word [ebp - 0x3a], 1
mov dword [ebp - 0x38], 0x20000025
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], 0x20
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], bl
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
mov dword [ebp - 0x44], eax
cmp eax, ebx
je 0x534f05
lea edx, [ebp - 0x3c]
push edx
push eax
mov eax, dword [0x7d5574]
push eax
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x534f05
mov ecx, dword [0x7d5574]
push ecx
call dword [sym.imp.OPENGL32.dll_wglCreateContext]
mov dword [0x7d5570], eax
push eax
mov edx, dword [0x7d5574]
push edx
mov esi, dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
call esi
push str.WGL_ARB_pbuffer_WGL_ARB_pixel_format
call fcn.00534330
add esp, 4
test eax, eax
jne 0x534f1f
push str.Necessary_OpenGL_extensions_were_not_supported
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
call fcn.00534b60
test al, al
je 0x534f35
call fcn.00534900
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], ebx
push ebx
push ebx
call esi
mov eax, dword [0x7d5570]
push eax
call dword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov dword [0x7d5574], ebx
call fcn.005345e0
mov al, byte [ebp - 0x11]
jmp 0x534f07
Function at 0x53c8b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5acbb1
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x53c8ec
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
add esp, 0xd4
ret
push ebx
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
push edi
call fcn.0053c710
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x53c97a
mov eax, dword [0x7d5e98]
mov byte [eax], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [0x7d5e98]
test eax, eax
je 0x53c95e
mov ecx, dword [0x7d5e9c]
test ecx, ecx
jbe 0x53c95e
push 0xd
push eax
call fcn.005523e0
mov al, byte [esp + 0xe8]
add esp, 8
test al, al
je 0x53c95e
mov eax, dword [0x7d5e98]
push 0x20
push 0xa
push eax
call fcn.00552140
add esp, 0xc
mov ecx, dword [esp + 0xd0]
mov eax, dword [0x7d5e98]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret
mov ecx, edi
mov edi, dword [0x7d5e98]
mov edx, ecx
push esi
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
pop esi
jne 0x53c91d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x53c91d
push str.result_0__GetLastError__NO_ERROR
lea ecx, [esp + 0x7c]
call fcn.00403d40
mov dword [esp + 0xd8], 0
push 0x5b45eb
lea ecx, [esp + 0x44]
call fcn.00403d40
mov byte [esp + 0xd8], 1
push 0x5b45eb
lea ecx, [esp + 0xc]
call fcn.00403d40
mov byte [esp + 0xd8], 2
push str.assertion_failed
lea ecx, [esp + 0x28]
call fcn.00403d40
mov byte [esp + 0xd8], 3
push str..SysInc.cpp
lea ecx, [esp + 0x60]
call fcn.00403d40
mov byte [esp + 0xd8], 4
lea eax, [esp + 0x78]
push eax
push 0
lea ecx, [esp + 0x48]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
push 0xa4
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0054a580
push 0x5d7834
lea edx, [esp + 0x98]
push edx
call fcn.0055a7d2
int3
Function at 0x546a80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5aeb38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.00546880
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], 0x5cde88
mov byte [esi + 0x30], 1
mov byte [esi + 0x31], al
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x54c710
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x40
push esi
mov esi, dword [esp + 0x48]
push str.GlobalMemoryStatusEx
push str.kernel32.dll
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
xor eax, eax
test edx, edx
je 0x54c773
push edi
mov ecx, 0x10
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x40
call edx
test eax, eax
pop edi
je 0x54c7a7
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
shrd ecx, edx, 0x14
mov dword [esi], ecx
shr edx, 0x14
pop esi
add esp, 0x40
ret
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 4]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0xc]
shr edx, 0x14
mov dword [esi], edx
pop esi
add esp, 0x40
ret
Function at 0x54d1a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce5d0
push 0x55cb84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], esi
mov ebx, dword [ebp + 0xc]
mov dword [ebx], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x24]
push eax
push 0x20019
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x54d218
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push esi
push esi
push 0x5ce598
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
wait
mov dword [ebp - 4], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x54d2a7
lea eax, [ebp - 0x2c]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call edi
push esi
push 5
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0055ce10
add dword [ebp - 0x2c], eax
adc dword [ebp - 0x28], edx
rdtsc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x34]
push eax
call edi
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x28]
jb 0x54d272
ja 0x54d28a
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x2c]
jb 0x54d272
rdtsc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
fild qword [ebp - 0x44]
fild qword [ebp - 0x4c]
fsubp st(1)
fmul dword [0x5ce594]
call fcn.0055ae74
mov dword [ebx], eax
wait
jmp 0x54d2b3
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret