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

Disassembly:
push 0xffffffffffffffff
push 0x872433
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov dword [ebx], 0x4204e4
mov dword [ebx + 0xc], 0x42049c
mov dword [ebx + 0x10], 0x42045c
mov dword [ebx + 0x14], 0x420444
mov dword [ebx + 0x18], 0x42041c
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x24], 8
test eax, eax
jne 0x58bee4
mov esi, dword [ebx + 0x7c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
xor ebp, ebp
cmp esi, ebp
je 0x58be03
mov ecx, dword [esi + 0x1c]
push ecx
call edi
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x58bdfa
push eax
call fcn.007c8563
add esp, 4
mov dword [esi + 8], ebp
push esi
call fcn.007c8563
add esp, 4
mov esi, dword [ebx + 0x80]
cmp esi, ebp
je 0x58be2f
mov edx, dword [esi + 0x1c]
push edx
call edi
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x58be26
push eax
call fcn.007c8563
add esp, 4
mov dword [esi + 8], ebp
push esi
call fcn.007c8563
add esp, 4
mov eax, dword [ebx + 0xec]
mov byte [esp + 0x24], 7
cmp eax, ebp
je 0x58be46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebx + 0x4c]
call fcn.004ed5a0
mov eax, dword [ebx + 0x48]
mov byte [esp + 0x24], 5
cmp eax, ebp
je 0x58be62
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebx + 0x30]
call fcn.004ed5a0
mov eax, dword [ebx + 0x28]
mov byte [esp + 0x24], 3
cmp eax, ebp
je 0x58be7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x24]
mov byte [esp + 0x24], 2
cmp eax, ebp
je 0x58be92
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x20]
mov byte [esp + 0x24], 1
cmp eax, ebp
je 0x58bea6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1c]
mov byte [esp + 0x24], 0
cmp eax, ebp
je 0x58beba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebx + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.005d4480
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x58bf9e
mov esi, dword [ebx + 0x30]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
lea ebp, [ebx + 0x30]
mov dword [esp + 0x18], ecx
test esi, esi
je 0x58bf8e
test edi, edi
je 0x58bf16
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
cmp dword [esi + 8], edi
sete bl
test edi, edi
je 0x58bf28
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
test bl, bl
jne 0x58bf34
mov esi, dword [esi]
test esi, esi
jne 0x58bf0a
jmp 0x58bf8a
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x58bf9e
cmp esi, dword [ebp]
jne 0x58bf4b
mov eax, dword [esi]
mov dword [ebp], eax
jmp 0x58bf52
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [ebp + 4]
jne 0x58bf5f
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
jmp 0x58bf67
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov eax, dword [esi + 8]
test eax, eax
je 0x58bf76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
dec dword [ebp + 8]
mov dword [ebp + 0x10], esi
jne 0x58bf8a
mov ecx, ebp
call fcn.004ed5a0
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
jne 0x58bee0
jmp 0x58bdd2
push 0x80004005
call fcn.004a8210
int3