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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fbb00
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x64], edi
je 0x58b3db
mov ecx, dword [0x1c7a9a8]
cmp ecx, edi
je 0x58b206
call fcn.0058b070
push ebx
push ebp
push esi
lea ecx, [esp + 0x34]
call fcn.005cd254
push 0x1c7a988
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], edi
call fcn.005cc9cb
mov eax, dword [esi + 0x40]
lea ebp, [esi + 0x40]
mov ebx, dword [eax - 8]
mov eax, dword [0x1c1de58]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
xor eax, eax
mov byte [esp + 0x4c], 2
test ebx, ebx
jle 0x58b2ab
mov ecx, dword [ebp]
cmp byte [ecx + edi], 0xd
jne 0x58b2a2
mov edx, edi
mov ecx, ebp
sub edx, eax
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005c0f6d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 3
call fcn.005c5318
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call fcn.005c51df
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
cmp eax, ecx
jge 0x58b29f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.005c5318
lea eax, [edi + 1]
inc edi
cmp edi, ebx
jl 0x58b247
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x58b2d4
mov ebp, dword [ebp]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
mov eax, dword [ebp - 8]
push ecx
push eax
push ebp
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x58b2f1
mov eax, dword [ecx - 8]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x40]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.005c7358
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
lea edx, [eax + 0xa0]
lea edi, [ecx + 0x78]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x70]
test edx, edx
mov dword [esp + 0x28], edi
je 0x58b33e
add ecx, ebp
add eax, ebx
push 3
lea edx, [esp + 0x24]
push 6
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
push edx
jmp 0x58b347
push 6
lea eax, [esp + 0x24]
push 6
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
push ecx
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub edx, eax
push 0x50
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push 0x1c78960
mov ecx, esi
call fcn.005ca375
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x60]
lea ebx, [esi + 0x4c]
mov byte [esp + 0x4c], 1
lea edi, [ecx + 2]
add ecx, 0xfffffffe
lea edx, [eax + 2]
mov dword [ebx], ecx
add eax, 0xfffffffe
lea ecx, [esp + 0x10]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edx
mov dword [0x1c7a9a8], esi
call fcn.005c51df
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call fcn.005c51df
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 0xffffffff
call fcn.005cd2c6
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret