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

Disassembly:
push 0xffffffffffffffff
push 0x5fa4a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push 0x19a9e10
mov ecx, 0x1a6b8cc
mov dword [esp + 0x1c], 0
call fcn.005c511d
mov esi, dword [esp + 0x434]
lea ecx, [esp + 8]
push esi
call fcn.005c5002
lea eax, [esp + 0xc]
mov ebx, 1
push 7
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], ebx
call fcn.005c0e33
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], 2
call fcn.005c54dd
mov ecx, dword [esp + 0xc]
push str.HTTP:__
push ecx
call fcn.004ae434
add esp, 8
test eax, eax
je 0x5506d3
push 0x1a13970
mov ecx, 0x1a6b8cc
call fcn.005c511d
mov esi, dword [esp + 0x430]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
mov dword [esp + 0x18], ebx
jmp 0x550842
push 0x2f
lea ecx, [esp + 0xc]
call fcn.005c0eab
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.005c0db7
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x428], 3
mov eax, dword [ecx - 8]
test eax, eax
jne 0x550735
push 0x1a11f7c
mov ecx, 0x1a6b8cc
call fcn.005c511d
mov esi, dword [esp + 0x430]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
mov dword [esp + 0x18], ebx
jmp 0x550831
lea edx, [esp + 0x20]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x550765
mov esi, dword [esp + 0x430]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
mov dword [esp + 0x18], ebx
jmp 0x550831
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
call fcn.005c5002
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], 4
push ecx
lea ecx, [esp + 0x18]
call fcn.005c53ac
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.005db896
mov ecx, dword [eax + 4]
call fcn.005caa2a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push esi
push ecx
call fcn.005503d0
add esp, 0xc
mov byte [esp + 0x428], 5
call fcn.005db896
mov ecx, dword [eax + 4]
call fcn.005caa3f
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
je 0x5507f8
lea eax, [esp + 0x1c]
mov ecx, 0x1a6b8cc
push eax
call fcn.005c50cd
mov esi, dword [esp + 0x430]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
jmp 0x55080b
mov esi, dword [esp + 0x430]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005c4d09
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x428], 4
call fcn.005c4f94
lea ecx, [esp + 0x14]
mov byte [esp + 0x428], 3
call fcn.005c4f94
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], 2
call fcn.005c4f94
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], bl
call fcn.005c4f94
lea ecx, [esp + 8]
mov byte [esp + 0x428], 0
call fcn.005c4f94
mov ecx, dword [esp + 0x420]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret
Function at 0x550a30
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5fa597
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 0x19a9e10
mov ecx, 0x1a6b8cc
mov dword [esp + 0x438], 4
call fcn.005c511d
push 0x2f
lea ecx, [esp + 0x444]
call fcn.005c0eab
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.005c0db7
mov eax, dword [esp + 8]
mov byte [esp + 0x434], 5
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x550adf
push 0x1a11f7c
mov ecx, 0x1a6b8cc
call fcn.005c511d
mov esi, dword [esp + 0x43c]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x550c68
lea ecx, [esp + 0x2c]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x550b14
mov esi, dword [esp + 0x43c]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x550c68
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
call fcn.005c5002
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x438], 6
call fcn.005c53ac
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.005db896
mov ecx, dword [eax + 4]
call fcn.005caa2a
push ecx
lea edx, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.005c4d09
push ecx
lea eax, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x440], 7
call fcn.005c4d09
push ecx
lea edx, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x444], 8
call fcn.005c4d09
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x448], 9
call fcn.005c4d09
push ecx
lea edx, [esp + 0x454]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x44c], 0xa
call fcn.005c4d09
lea eax, [esp + 0x28]
mov byte [esp + 0x448], 6
push eax
call fcn.00550880
add esp, 0x18
mov byte [esp + 0x434], 0xb
call fcn.005db896
mov ecx, dword [eax + 4]
call fcn.005caa3f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x550c2a
lea edx, [esp + 0x14]
mov ecx, 0x1a6b8cc
push edx
call fcn.005c50cd
mov esi, dword [esp + 0x43c]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
jmp 0x550c3d
mov esi, dword [esp + 0x43c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.005c4d09
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x434], 6
call fcn.005c4f94
lea ecx, [esp + 0xc]
mov byte [esp + 0x434], 5
call fcn.005c4f94
lea ecx, [esp + 8]
mov byte [esp + 0x434], 4
call fcn.005c4f94
lea ecx, [esp + 0x440]
mov byte [esp + 0x434], 3
call fcn.005c4f94
lea ecx, [esp + 0x444]
mov byte [esp + 0x434], 2
call fcn.005c4f94
lea ecx, [esp + 0x448]
mov byte [esp + 0x434], bl
call fcn.005c4f94
lea ecx, [esp + 0x44c]
mov byte [esp + 0x434], 0
call fcn.005c4f94
mov ecx, dword [esp + 0x42c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x430
ret
Function at 0x550cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fa607
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.005c4d09
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esp + 0x10]
call fcn.005c4d09
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.005c54dd
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x40]
push 7
push edx
lea ecx, [esp + 0x14]
mov dword [esi], 0
call fcn.005c0e33
mov eax, dword [eax]
push str.HTTP:__
push eax
call fcn.004ae434
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005c4f94
test bl, bl
je 0x550dfa
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.00550620
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.005c50cd
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005c4f94
mov eax, dword [0x1a6b8cc]
push 0x19a9e10
push eax
call fcn.004ae434
add esp, 8
test eax, eax
je 0x550eeb
mov edx, dword [0x1a6b8cc]
push 0
push 0
push edx
call fcn.005d150e
mov esi, dword [esp + 0x38]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
mov dword [esp + 0x14], edi
jmp 0x550f01
lea eax, [esp + 0x40]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.005c0e33
mov eax, dword [eax]
push str.FTP:
push eax
call fcn.004ae434
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005c4f94
test bl, bl
je 0x550eed
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x1a6b8c0
call fcn.005c4d09
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x1a6b8c4
call fcn.005c4d09
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1a6b8c8
call fcn.005c4d09
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 7
call fcn.005c4d09
lea eax, [esp + 0x50]
mov byte [esp + 0x40], 3
push eax
call fcn.00550a30
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call fcn.005c50cd
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005c4f94
mov eax, dword [0x1a6b8cc]
push 0x19a9e10
push eax
call fcn.004ae434
add esp, 8
test eax, eax
je 0x550eeb
mov ecx, dword [0x1a6b8cc]
push 0
push 0
push ecx
call fcn.005d150e
mov esi, dword [esp + 0x38]
push 0x19a9e10
mov ecx, esi
call fcn.005c5002
jmp 0x550efd
mov dword [esi], edi
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.005c4d09
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.005c4f94
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.005c4f94
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.005c4f94
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 0x554700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5faa28
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], 0x19b6dec
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 0x554791
mov ecx, ebx
call fcn.00555060
cmp eax, edi
mov dword [esi + 0x2c], eax
jbe 0x554791
push edi
mov ecx, esi
call fcn.00555120
test eax, eax
je 0x554791
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.004ae7f0
mov eax, dword [esi + 8]
add esp, 0xc
cmp word [eax], 0x4d42
jne 0x554791
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 0x554d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5faab8
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.005c5655
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.00555120
test eax, eax
je 0x554de4
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 0x554deb
call fcn.005c5693
mov eax, dword [esi + 8]
cmp word [eax], 0x4d42
jne 0x554df0
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.005c5693
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 0x556af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fadec
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.005c4d09
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.0052af70
mov eax, dword [0x1a0de58]
lea ecx, [esi + 0x19c]
mov dword [ecx], eax
mov edx, dword [0x1a0de58]
lea edi, [esi + 0x1a4]
mov dword [edi], edx
push 0x19a9e10
mov byte [esp + 0x1c], 3
mov dword [esi], 0x19b7678
call fcn.005c511d
push 0
call fcn.004b0b50
push eax
call fcn.004add02
add esp, 8
call fcn.004add0f
push 0x19a9e10
mov ecx, edi
mov dword [esi + 0x1a0], eax
call fcn.005c511d
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.005c4f94
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x1c
Function at 0x565f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fbe30
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.005c4d09
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x28], 4
call fcn.005c4d09
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x2c], 5
call fcn.005c4d09
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.005660a0
test al, al
jne 0x566021
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.005c4f94
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005c4f94
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005c4f94
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005c4f94
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.00564710
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x1c], 2
call fcn.005c4f94
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005c4f94
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005c4f94
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005c4f94
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x572ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fd170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x10]
push eax
call fcn.00573100
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 0x573076
push 0xc0c0c0
lea ecx, [esp + 0x14]
call fcn.005cd36e
test eax, eax
je 0x572f55
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.004acdf5
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.005cd31e
push 0x808080
push 1
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.005cd31e
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.005cc780
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.005cccff
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.005ccd4b
sub ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005ccd4b
push ebp
mov ecx, esi
call fcn.005cc780
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005cc780
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.005ccd4b
add ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005ccd4b
push ebp
mov ecx, esi
call fcn.005cc780
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.005cd308
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.005cd308
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 0x57a670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fdf20
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.004bf700
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 0x57a71b
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 0x57a845
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.005cc85c
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005cd36e
mov eax, dword [edi + 0x84]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jne 0x57a78a
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 0x57a818
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.005cd3b8
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x54], 1
call fcn.005cc780
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.005cc780
push ebp
mov ecx, esi
call fcn.005cc780
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005cd308
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005cc85c
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call fcn.005cd308
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 0x57a880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fdf50
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.004bf700
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 0x57aa38
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.005cc85c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x57a999
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.005cd36e
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.005cc780
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.005cc780
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.005cd308
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x57aa04
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005cd3b8
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.005cc780
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.005cc780
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.005cd308
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005cc780
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005cc85c
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