Function at 0x57fee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c4]
push edi
push eax
mov dword [esi], fcn.004094c0
mov dword [esi + 4], 0x5f3268
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0x3a0]
mov edx, dword [esi + 0x38c]
mov eax, ecx
mov edi, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edi
mov ebp, edx
xor ebx, ebx
cmp ebp, ebx
je 0x57ff2d
cmp ebp, dword [esp + 0x10]
je 0x57ff32
call fcn.0059ec50
cmp edi, dword [esp + 0x14]
je 0x57ffd6
cmp ebp, ebx
jne 0x57ffc9
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x57ff55
call fcn.0059ec50
mov edi, dword [edi + 8]
cmp edi, ebx
je 0x57ffa3
cmp dword [edi + 0x34], 0x10
jb 0x57ff6e
mov ecx, dword [edi + 0x20]
push ecx
call fcn.0059e6bb
add esp, 4
mov dword [edi + 0x34], 0xf
mov dword [edi + 0x30], ebx
mov byte [edi + 0x20], bl
cmp dword [edi + 0x18], 0x10
jb 0x57ff8d
mov edx, dword [edi + 4]
push edx
call fcn.0059e6bb
add esp, 4
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push edi
mov byte [edi + 4], bl
call fcn.0059e6bb
add esp, 4
cmp ebp, ebx
jne 0x57ffd1
call fcn.0059ec50
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x14]
jne 0x57ffbc
call fcn.0059ec50
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov edi, eax
jmp 0x57ff23
mov eax, dword [ebp]
jmp 0x57ff4b
mov eax, dword [ebp]
jmp 0x57ffae
mov ecx, dword [esi + 0x3a0]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x3a0]
mov dword [ecx + 4], ecx
mov dword [esi + 0x3a4], ebx
cmp eax, dword [esi + 0x3a0]
je 0x58000c
mov edi, dword [eax]
push eax
call fcn.0059e6bb
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x3a0]
jne 0x57fff7
mov ecx, dword [esi + 0x3bc]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x3bc]
mov dword [ecx + 4], ecx
mov dword [esi + 0x3c0], ebx
cmp eax, dword [esi + 0x3bc]
je 0x580045
lea ecx, [ecx]
mov edi, dword [eax]
push eax
call fcn.0059e6bb
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x3bc]
jne 0x580030
mov ecx, dword [esi + 0x3bc]
push ecx
call fcn.0059e6bb
mov edx, dword [esi + 0x3a8]
push edx
mov dword [esi + 0x3bc], ebx
call fcn.0059e6bb
mov ecx, dword [esi + 0x3a0]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x3a0]
mov dword [ecx + 4], ecx
add esp, 8
mov dword [esi + 0x3a4], ebx
cmp eax, dword [esi + 0x3a0]
je 0x58009c
mov edi, dword [eax]
push eax
call fcn.0059e6bb
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x3a0]
jne 0x580087
mov eax, dword [esi + 0x3a0]
push eax
call fcn.0059e6bb
mov ecx, dword [esi + 0x38c]
push ecx
mov dword [esi + 0x3a0], ebx
call fcn.0059e6bb
mov eax, dword [esi + 0x378]
add esp, 8
cmp eax, ebx
je 0x5800d0
push eax
call fcn.0059e6bb
add esp, 4
mov edx, dword [esi + 0x36c]
push edx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
call fcn.0059e6bb
mov eax, dword [esi + 0x360]
add esp, 4
cmp eax, ebx
je 0x580123
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x364]
lea edx, [esi + 0x35c]
push edx
push ecx
push eax
call fcn.00413920
mov edx, dword [esi + 0x360]
push edx
call fcn.0059e6bb
add esp, 0x14
mov eax, dword [esi + 0x354]
push eax
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x368], ebx
call fcn.0059e6bb
mov eax, dword [esi + 0x348]
add esp, 4
cmp eax, ebx
je 0x580157
push eax
call fcn.0059e6bb
add esp, 4
mov ecx, dword [esi + 0x33c]
push ecx
mov dword [esi + 0x348], ebx
mov dword [esi + 0x34c], ebx
mov dword [esi + 0x350], ebx
call fcn.0059e6bb
mov eax, dword [esi + 0x330]
add esp, 4
cmp eax, ebx
je 0x5801aa
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esi + 0x334]
lea ecx, [esi + 0x32c]
push ecx
push edx
push eax
call fcn.00413920
mov eax, dword [esi + 0x330]
push eax
call fcn.0059e6bb
add esp, 0x14
mov ecx, dword [esi + 0x324]
push ecx
mov dword [esi + 0x330], ebx
mov dword [esi + 0x334], ebx
mov dword [esi + 0x338], ebx
call fcn.0059e6bb
add esp, 4
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp fcn.00572c50