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

Disassembly:
push 0xffffffffffffffff
push 0x5f16c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push 0x1c62f10
mov ecx, 0x1d248b4
mov dword [esp + 0x1c], 0
call fcn.005bc2fd
mov esi, dword [esp + 0x434]
lea ecx, [esp + 8]
push esi
call fcn.005bc1e2
lea eax, [esp + 0xc]
mov ebx, 1
push 7
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], ebx
call fcn.005b8013
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], 2
call fcn.005bc6bd
mov ecx, dword [esp + 0xc]
push str.HTTP:__
push ecx
call fcn.004a5614
add esp, 8
test eax, eax
je 0x5478b3
push 0x1ccc970
mov ecx, 0x1d248b4
call fcn.005bc2fd
mov esi, dword [esp + 0x430]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
mov dword [esp + 0x18], ebx
jmp 0x547a22
push 0x2f
lea ecx, [esp + 0xc]
call fcn.005b808b
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.005b7f97
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x428], 3
mov eax, dword [ecx - 8]
test eax, eax
jne 0x547915
push 0x1ccaf7c
mov ecx, 0x1d248b4
call fcn.005bc2fd
mov esi, dword [esp + 0x430]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
mov dword [esp + 0x18], ebx
jmp 0x547a11
lea edx, [esp + 0x20]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x547945
mov esi, dword [esp + 0x430]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
mov dword [esp + 0x18], ebx
jmp 0x547a11
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
call fcn.005bc1e2
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], 4
push ecx
lea ecx, [esp + 0x18]
call fcn.005bc58c
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.005d2a76
mov ecx, dword [eax + 4]
call fcn.005c1c0a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push esi
push ecx
call fcn.005475b0
add esp, 0xc
mov byte [esp + 0x428], 5
call fcn.005d2a76
mov ecx, dword [eax + 4]
call fcn.005c1c1f
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
je 0x5479d8
lea eax, [esp + 0x1c]
mov ecx, 0x1d248b4
push eax
call fcn.005bc2ad
mov esi, dword [esp + 0x430]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
jmp 0x5479eb
mov esi, dword [esp + 0x430]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005bbee9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x428], 4
call fcn.005bc174
lea ecx, [esp + 0x14]
mov byte [esp + 0x428], 3
call fcn.005bc174
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], 2
call fcn.005bc174
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], bl
call fcn.005bc174
lea ecx, [esp + 8]
mov byte [esp + 0x428], 0
call fcn.005bc174
mov ecx, dword [esp + 0x420]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret
Function at 0x547c10
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5f17b7
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 0x1c62f10
mov ecx, 0x1d248b4
mov dword [esp + 0x438], 4
call fcn.005bc2fd
push 0x2f
lea ecx, [esp + 0x444]
call fcn.005b808b
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.005b7f97
mov eax, dword [esp + 8]
mov byte [esp + 0x434], 5
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x547cbf
push 0x1ccaf7c
mov ecx, 0x1d248b4
call fcn.005bc2fd
mov esi, dword [esp + 0x43c]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x547e48
lea ecx, [esp + 0x2c]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x547cf4
mov esi, dword [esp + 0x43c]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x547e48
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
call fcn.005bc1e2
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x438], 6
call fcn.005bc58c
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.005d2a76
mov ecx, dword [eax + 4]
call fcn.005c1c0a
push ecx
lea edx, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.005bbee9
push ecx
lea eax, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x440], 7
call fcn.005bbee9
push ecx
lea edx, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x444], 8
call fcn.005bbee9
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x448], 9
call fcn.005bbee9
push ecx
lea edx, [esp + 0x454]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x44c], 0xa
call fcn.005bbee9
lea eax, [esp + 0x28]
mov byte [esp + 0x448], 6
push eax
call fcn.00547a60
add esp, 0x18
mov byte [esp + 0x434], 0xb
call fcn.005d2a76
mov ecx, dword [eax + 4]
call fcn.005c1c1f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x547e0a
lea edx, [esp + 0x14]
mov ecx, 0x1d248b4
push edx
call fcn.005bc2ad
mov esi, dword [esp + 0x43c]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
jmp 0x547e1d
mov esi, dword [esp + 0x43c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.005bbee9
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x434], 6
call fcn.005bc174
lea ecx, [esp + 0xc]
mov byte [esp + 0x434], 5
call fcn.005bc174
lea ecx, [esp + 8]
mov byte [esp + 0x434], 4
call fcn.005bc174
lea ecx, [esp + 0x440]
mov byte [esp + 0x434], 3
call fcn.005bc174
lea ecx, [esp + 0x444]
mov byte [esp + 0x434], 2
call fcn.005bc174
lea ecx, [esp + 0x448]
mov byte [esp + 0x434], bl
call fcn.005bc174
lea ecx, [esp + 0x44c]
mov byte [esp + 0x434], 0
call fcn.005bc174
mov ecx, dword [esp + 0x42c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x430
ret
Function at 0x547ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1827
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.005bbee9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esp + 0x10]
call fcn.005bbee9
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.005bc6bd
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x40]
push 7
push edx
lea ecx, [esp + 0x14]
mov dword [esi], 0
call fcn.005b8013
mov eax, dword [eax]
push str.HTTP:__
push eax
call fcn.004a5614
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005bc174
test bl, bl
je 0x547fda
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.00547800
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.005bc2ad
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005bc174
mov eax, dword [0x1d248b4]
push 0x1c62f10
push eax
call fcn.004a5614
add esp, 8
test eax, eax
je 0x5480cb
mov edx, dword [0x1d248b4]
push 0
push 0
push edx
call fcn.005c86ee
mov esi, dword [esp + 0x38]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
mov dword [esp + 0x14], edi
jmp 0x5480e1
lea eax, [esp + 0x40]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.005b8013
mov eax, dword [eax]
push str.FTP:
push eax
call fcn.004a5614
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005bc174
test bl, bl
je 0x5480cd
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x1d248a8
call fcn.005bbee9
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x1d248ac
call fcn.005bbee9
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1d248b0
call fcn.005bbee9
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 7
call fcn.005bbee9
lea eax, [esp + 0x50]
mov byte [esp + 0x40], 3
push eax
call fcn.00547c10
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call fcn.005bc2ad
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005bc174
mov eax, dword [0x1d248b4]
push 0x1c62f10
push eax
call fcn.004a5614
add esp, 8
test eax, eax
je 0x5480cb
mov ecx, dword [0x1d248b4]
push 0
push 0
push ecx
call fcn.005c86ee
mov esi, dword [esp + 0x38]
push 0x1c62f10
mov ecx, esi
call fcn.005bc1e2
jmp 0x5480dd
mov dword [esi], edi
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.005bbee9
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.005bc174
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.005bc174
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.005bc174
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 0x54b8e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f1c48
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], 0x1c6feec
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 0x54b971
mov ecx, ebx
call fcn.0054c240
cmp eax, edi
mov dword [esi + 0x2c], eax
jbe 0x54b971
push edi
mov ecx, esi
call fcn.0054c300
test eax, eax
je 0x54b971
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.004a59d0
mov eax, dword [esi + 8]
add esp, 0xc
cmp word [eax], 0x4d42
jne 0x54b971
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 0x54bf10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1cd8
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.005bc835
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.0054c300
test eax, eax
je 0x54bfc4
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 0x54bfcb
call fcn.005bc873
mov eax, dword [esi + 8]
cmp word [eax], 0x4d42
jne 0x54bfd0
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.005bc873
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 0x54dcd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f200c
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.005bbee9
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.00522150
mov eax, dword [0x1cc6e58]
lea ecx, [esi + 0x19c]
mov dword [ecx], eax
mov edx, dword [0x1cc6e58]
lea edi, [esi + 0x1a4]
mov dword [edi], edx
push 0x1c62f10
mov byte [esp + 0x1c], 3
mov dword [esi], 0x1c70778
call fcn.005bc2fd
push 0
call fcn.004a7d30
push eax
call fcn.004a4ee2
add esp, 8
call fcn.004a4eef
push 0x1c62f10
mov ecx, edi
mov dword [esi + 0x1a0], eax
call fcn.005bc2fd
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.005bc174
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x1c
Function at 0x55d140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f3050
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.005bbee9
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x28], 4
call fcn.005bbee9
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x2c], 5
call fcn.005bbee9
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.0055d280
test al, al
jne 0x55d201
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.005bc174
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005bc174
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005bc174
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005bc174
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.0055b8f0
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x1c], 2
call fcn.005bc174
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005bc174
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005bc174
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005bc174
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x56a0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f4390
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x10]
push eax
call fcn.0056a2e0
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 0x56a256
push 0xc0c0c0
lea ecx, [esp + 0x14]
call fcn.005c454e
test eax, eax
je 0x56a135
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.004a3fd5
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.005c44fe
push 0x808080
push 1
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.005c44fe
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.005c3960
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.005c3edf
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.005c3f2b
sub ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005c3f2b
push ebp
mov ecx, esi
call fcn.005c3960
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005c3960
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.005c3f2b
add ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005c3f2b
push ebp
mov ecx, esi
call fcn.005c3960
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.005c44e8
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.005c44e8
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 0x571850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5140
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.004b68e0
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 0x5718fb
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 0x571a25
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.005c3a3c
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005c454e
mov eax, dword [edi + 0x84]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jne 0x57196a
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 0x5719f8
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.005c4598
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x54], 1
call fcn.005c3960
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.005c3960
push ebp
mov ecx, esi
call fcn.005c3960
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005c44e8
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005c3a3c
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call fcn.005c44e8
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 0x571a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5170
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.004b68e0
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 0x571c18
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.005c3a3c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x571b79
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.005c454e
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.005c3960
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.005c3960
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.005c44e8
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x571be4
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005c4598
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.005c3960
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.005c3960
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.005c44e8
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005c3960
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005c3a3c
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