joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55bc50
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x603651
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push 0x1adc840
mov ecx, 0x1b9d194
mov dword [esp + 0x1c], 0
call fcn.005d35da
mov esi, dword [esp + 0x434]
lea ecx, [esp + 8]
push esi
call fcn.005d34bf
lea eax, [esp + 0xc]
mov ebx, 1
push 7
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], ebx
call fcn.005cf2f1
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], 2
call fcn.005d399a
mov ecx, dword [esp + 0xc]
push str.HTTP:__
push ecx
call fcn.004af4b3
add esp, 8
test eax, eax
je 0x55bd03
push 0x1b447b8
mov ecx, 0x1b9d194
call fcn.005d35da
mov esi, dword [esp + 0x430]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
mov dword [esp + 0x18], ebx
jmp 0x55be72
push 0x2f
lea ecx, [esp + 0xc]
call fcn.005cf369
mov edx, dword [esp + 8]
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x10]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.005cf275
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x428], 3
mov eax, dword [ecx - 8]
test eax, eax
jne 0x55bd65
push 0x1b42db4
mov ecx, 0x1b9d194
call fcn.005d35da
mov esi, dword [esp + 0x430]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
mov dword [esp + 0x18], ebx
jmp 0x55be61
lea edx, [esp + 0x20]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x55bd95
mov esi, dword [esp + 0x430]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
mov dword [esp + 0x18], ebx
jmp 0x55be61
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
call fcn.005d34bf
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], 4
push ecx
lea ecx, [esp + 0x18]
call fcn.005d3869
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.005e9d58
mov ecx, dword [eax + 4]
call fcn.005d8ee7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push esi
push ecx
call fcn.0055ba00
add esp, 0xc
mov byte [esp + 0x428], 5
call fcn.005e9d58
mov ecx, dword [eax + 4]
call fcn.005d8efc
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
je 0x55be28
lea eax, [esp + 0x1c]
mov ecx, 0x1b9d194
push eax
call fcn.005d358a
mov esi, dword [esp + 0x430]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
jmp 0x55be3b
mov esi, dword [esp + 0x430]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005d31c6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x428], 4
call fcn.005d3451
lea ecx, [esp + 0x14]
mov byte [esp + 0x428], 3
call fcn.005d3451
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], 2
call fcn.005d3451
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], bl
call fcn.005d3451
lea ecx, [esp + 8]
mov byte [esp + 0x428], 0
call fcn.005d3451
mov ecx, dword [esp + 0x420]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret
Function at 0x55c060
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x603747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x424
push ebx
push esi
mov dword [esp + 0x10], 0
push 0x1adc840
mov ecx, 0x1b9d194
mov dword [esp + 0x438], 4
call fcn.005d35da
push 0x2f
lea ecx, [esp + 0x444]
call fcn.005cf369
mov ecx, dword [esp + 0x440]
lea edx, [esp + 8]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x448]
call fcn.005cf275
mov eax, dword [esp + 8]
mov byte [esp + 0x434], 5
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x55c10f
push 0x1b42db4
mov ecx, 0x1b9d194
call fcn.005d35da
mov esi, dword [esp + 0x43c]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x55c298
lea ecx, [esp + 0x2c]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x55c144
mov esi, dword [esp + 0x43c]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x55c298
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
call fcn.005d34bf
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x438], 6
call fcn.005d3869
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.005e9d58
mov ecx, dword [eax + 4]
call fcn.005d8ee7
push ecx
lea edx, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.005d31c6
push ecx
lea eax, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x440], 7
call fcn.005d31c6
push ecx
lea edx, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x444], 8
call fcn.005d31c6
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x448], 9
call fcn.005d31c6
push ecx
lea edx, [esp + 0x454]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x44c], 0xa
call fcn.005d31c6
lea eax, [esp + 0x28]
mov byte [esp + 0x448], 6
push eax
call fcn.0055beb0
add esp, 0x18
mov byte [esp + 0x434], 0xb
call fcn.005e9d58
mov ecx, dword [eax + 4]
call fcn.005d8efc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x55c25a
lea edx, [esp + 0x14]
mov ecx, 0x1b9d194
push edx
call fcn.005d358a
mov esi, dword [esp + 0x43c]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
jmp 0x55c26d
mov esi, dword [esp + 0x43c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.005d31c6
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x434], 6
call fcn.005d3451
lea ecx, [esp + 0xc]
mov byte [esp + 0x434], 5
call fcn.005d3451
lea ecx, [esp + 8]
mov byte [esp + 0x434], 4
call fcn.005d3451
lea ecx, [esp + 0x440]
mov byte [esp + 0x434], 3
call fcn.005d3451
lea ecx, [esp + 0x444]
mov byte [esp + 0x434], 2
call fcn.005d3451
lea ecx, [esp + 0x448]
mov byte [esp + 0x434], bl
call fcn.005d3451
lea ecx, [esp + 0x44c]
mov byte [esp + 0x434], 0
call fcn.005d3451
mov ecx, dword [esp + 0x42c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x430
ret
Function at 0x55c320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6037b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
lea eax, [esp + 0x3c]
mov edi, 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], edi
call fcn.005d31c6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esp + 0x10]
call fcn.005d31c6
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.005d399a
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x40]
push 7
push edx
lea ecx, [esp + 0x14]
mov dword [esi], 0
call fcn.005cf2f1
mov eax, dword [eax]
push str.HTTP:__
push eax
call fcn.004af4b3
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005d3451
test bl, bl
je 0x55c42a
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0055bc50
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.005d358a
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005d3451
mov eax, dword [0x1b9d194]
push 0x1adc840
push eax
call fcn.004af4b3
add esp, 8
test eax, eax
je 0x55c51b
mov edx, dword [0x1b9d194]
push 0
push 0
push edx
call fcn.005df9cb
mov esi, dword [esp + 0x38]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
mov dword [esp + 0x14], edi
jmp 0x55c531
lea eax, [esp + 0x40]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.005cf2f1
mov eax, dword [eax]
push str.FTP:
push eax
call fcn.004af4b3
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005d3451
test bl, bl
je 0x55c51d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x1b9d188
call fcn.005d31c6
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x1b9d18c
call fcn.005d31c6
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1b9d190
call fcn.005d31c6
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 7
call fcn.005d31c6
lea eax, [esp + 0x50]
mov byte [esp + 0x40], 3
push eax
call fcn.0055c060
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call fcn.005d358a
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005d3451
mov eax, dword [0x1b9d194]
push 0x1adc840
push eax
call fcn.004af4b3
add esp, 8
test eax, eax
je 0x55c51b
mov ecx, dword [0x1b9d194]
push 0
push 0
push ecx
call fcn.005df9cb
mov esi, dword [esp + 0x38]
push 0x1adc840
mov ecx, esi
call fcn.005d34bf
jmp 0x55c52d
mov dword [esi], edi
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.005d31c6
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.005d3451
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.005d3451
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.005d3451
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x55fd30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6077b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0x20]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x18], edi
mov dword [esi], 0x1aef4e4
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], edi
je 0x55fdc1
mov ecx, ebx
call fcn.00506530
cmp eax, edi
mov dword [esi + 0x2c], eax
jbe 0x55fdc1
push edi
mov ecx, esi
call fcn.00560740
test eax, eax
je 0x55fdc1
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.004af850
mov eax, dword [esi + 8]
add esp, 0xc
cmp word [eax], 0x4d42
jne 0x55fdc1
mov ecx, dword [eax + 0xa]
mov edx, dword [esi + 0xc]
add ecx, eax
xor eax, eax
mov dword [esi + 0x1c], ecx
mov ax, word [edx + 0xe]
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x560360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x603b08
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, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
call fcn.005d3b12
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, edi
mov byte [ebp - 4], 1
mov eax, dword [edi]
call dword [eax + 0x30]
push 0
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.00560740
test eax, eax
je 0x560414
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
jne 0x56041b
call fcn.005d3b50
mov eax, dword [esi + 8]
cmp word [eax], 0x4d42
jne 0x560420
mov ecx, dword [eax + 0xa]
mov edx, dword [esi + 0xc]
add ecx, eax
xor eax, eax
mov dword [esi + 0x1c], ecx
mov ax, word [edx + 0xe]
mov dword [esi + 0x30], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
call fcn.005d3b50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x561ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x603ccc
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
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov dword [esp + 0x20], 0
call fcn.005d31c6
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x38]
push edx
mov ecx, esi
call fcn.00536b60
mov eax, dword [0x1b40b40]
lea ecx, [esi + 0x19c]
mov dword [ecx], eax
mov edx, dword [0x1b40b40]
lea edi, [esi + 0x1a4]
mov dword [edi], edx
push 0x1adc840
mov byte [esp + 0x1c], 3
mov dword [esi], 0x1aefd70
call fcn.005d35da
push 0
call fcn.004c1a10
push eax
call fcn.004ae90c
add esp, 8
call fcn.004ae91e
push 0x1adc840
mov ecx, edi
mov dword [esi + 0x1a0], eax
call fcn.005d35da
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.005d3451
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x1c
Function at 0x571400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x604840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x30]
mov ebx, 3
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x24], ebx
call fcn.005d31c6
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x28], 4
call fcn.005d31c6
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x2c], 5
call fcn.005d31c6
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.00571540
test al, al
jne 0x5714c1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.005d3451
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005d3451
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005d3451
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005d3451
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x30]
xor ecx, ecx
push edx
test eax, eax
setne cl
mov dword [esi + 0x30], ecx
mov ecx, esi
mov dword [esi + 0x28], 0
call fcn.0056fbb0
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x1c], 2
call fcn.005d3451
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005d3451
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005d3451
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005d3451
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x57e260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6058b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x10]
push eax
call fcn.0057e470
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x57e3e6
push 0xc0c0c0
lea ecx, [esp + 0x14]
call fcn.005db82b
test eax, eax
je 0x57e2c5
mov eax, dword [eax + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
lea ecx, [esp + 0x30]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBrush.0
call fcn.004ad8a3
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.005db7db
push 0x808080
push 1
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.005db7db
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.005dac3d
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebp, eax
lea eax, [esp + 0x20]
lea ebx, [edx + 1]
lea edi, [ecx + 1]
mov dword [esp + 0x20], ebx
add ebx, 2
push edi
push ebx
push eax
mov ecx, esi
call fcn.005db1bc
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
sub eax, 2
add edi, eax
push edi
push ebx
call fcn.005db208
sub ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005db208
push ebp
mov ecx, esi
call fcn.005dac3d
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005dac3d
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
add eax, 2
add edi, eax
push edi
push ebx
call fcn.005db208
add ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005db208
push ebp
mov ecx, esi
call fcn.005dac3d
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.005db7c5
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.005db7c5
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x585740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x14]
mov eax, ebp
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x38], edx
call fcn.004cbcc0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov edx, dword [edi + 0x88]
xor ebx, ebx
cmp edx, ebx
je 0x5857eb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 4]
add edx, 0x14
push esi
mov dword [esp + 0x40], ebx
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
push eax
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 0x88]
mov edx, dword [ecx]
call dword [edx + 0xe4]
jmp 0x585915
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
sub ecx, edx
sub eax, ebp
xor edx, edx
mov dword [esp + 0x40], ecx
push 1
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
call fcn.005dad19
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005db82b
mov eax, dword [edi + 0x84]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jne 0x58585a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x38]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [edi + 0x90], 0x63
je 0x5858e8
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [edi + 0x90]
mov ebp, eax
mov eax, dword [edi + 0x94]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005db875
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x54], 1
call fcn.005dac3d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub ecx, edx
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov ecx, esi
call fcn.005dac3d
push ebp
mov ecx, esi
call fcn.005dac3d
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005db7c5
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005dad19
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call fcn.005db7c5
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
neg eax
push eax
lea eax, [esp + 0x24]
neg ecx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x585950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
push esi
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
call fcn.004cbcc0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x585b08
mov edx, dword [esi]
push ebx
push edi
push 8
mov ecx, esi
call dword [edx + 0x24]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub edi, ebx
mov ebx, dword [esp + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0x50], eax
sub ebx, edx
call fcn.005dad19
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x585a69
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.005db82b
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.005dac3d
mov edx, dword [esi + 4]
push edi
push ebx
push 0
push 0
push edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
call fcn.005dac3d
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.005db7c5
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x585ad4
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005db875
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.005dac3d
push edi
mov ebp, eax
mov eax, dword [esi + 4]
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
push ebp
mov ecx, esi
call fcn.005dac3d
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.005db7c5
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005dac3d
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005dad19
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
neg ecx
push ecx
lea ecx, [esp + 0x14]
neg edx
push edx
push ecx
mov ecx, esi
call dword [eax + 0x3c]
pop edi
pop ebx
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8