Function at 0x58e3b0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ffb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov eax, ecx
mov cl, byte [ebp + 0xb]
push edi
xor edi, edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x40], cl
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
cmp eax, 0x3b
mov ecx, dword [0x67d890]
mov dword [ebp - 4], edi
mov byte [ebp - 0xd], 0
jne 0x58e279
lea eax, [ebp - 0x40]
push eax
push edx
mov edx, dword [ebp + 8]
push edx
call fcn.005930c0
jmp 0x58e29d
xor edx, edx
cmp eax, 0x16
sete dl
inc edx
cmp eax, 0x14
setne al
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x18]
push eax
push edx
mov edx, dword [ebp + 8]
push edx
call fcn.00592fa0
mov edx, dword [0x67d890]
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov ebx, 0x54b8
jmp 0x58e2b4
xor edi, edi
cmp dword [ebx + edx], 0
lea esi, [esi + edx + 0x54c8]
jle 0x58e32c
mov eax, dword [esi + 0x84]
shr eax, 0x15
test al, 1
jne 0x58e31e
mov eax, dword [edx + 0x132bc]
mov ecx, dword [ebp - 0x1c]
push 0
push 1
push 0
push esi
push eax
push ecx
mov ecx, edx
call fcn.00596970
fcomp qword [0x626ac8]
fnstsw ax
test ah, 0x41
jne 0x58e318
mov edx, dword [0x67d890]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add eax, edx
mov cl, byte [eax + edi + 0x547c]
push ecx
mov ecx, esi
call fcn.0043e440
test al, al
je 0x58e318
mov byte [ebp - 0xd], 1
mov edx, dword [0x67d890]
mov eax, dword [ebx + edx]
inc edi
add esi, 0x548
cmp edi, eax
jl 0x58e2c1
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ebx, 4
add esi, 0x6ee8
add ecx, 0x14
cmp ebx, 0x54c0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
jl 0x58e2b2
mov eax, dword [0x67cb98]
xor esi, esi
cmp eax, esi
je 0x58e46b
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x30], al
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x3b
mov byte [ebp - 4], 1
jne 0x58e38f
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, edx
call fcn.00592ce0
jmp 0x58e3b5
xor eax, eax
cmp ecx, 0x16
sete al
inc eax
cmp ecx, 0x14
setne cl
mov byte [ebp - 0x20], cl
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x20]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, edx
call fcn.00592a20
mov eax, dword [ebp - 0x2c]
cmp eax, esi
je 0x58e3c4
mov esi, dword [ebp - 0x28]
sub esi, eax
sar esi, 2
mov ecx, esi
dec esi
test ecx, ecx
je 0x58e43a
jmp 0x58e3d0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
test eax, eax
jl 0x58e433
cmp eax, 0xbb
jge 0x58e433
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x67d890]
shl edx, 4
lea ecx, [edx + eax + 0x1c4]
call fcn.004db1f0
test eax, eax
je 0x58e433
mov cl, byte [eax + 0x4f1]
test cl, cl
jne 0x58e433
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
lea ecx, [ecx + esi*4]
lea eax, [ecx + 4]
cmp eax, edx
je 0x58e42a
sub ecx, eax
mov edi, dword [eax]
mov dword [ecx + eax], edi
add eax, 4
cmp eax, edx
jne 0x58e41b
mov edx, dword [ebp - 0x28]
lea eax, [edx - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov edx, esi
dec esi
test edx, edx
jne 0x58e3cd
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, dword [0x67d890]
call fcn.0048e8a0
mov edx, dword [ebp - 0x2c]
push edx
mov bl, 1
mov byte [ebp - 4], 0
call fcn.005f8040
mov edx, dword [0x67d890]
add esp, 4
xor esi, esi
jmp 0x58e46e
mov bl, byte [ebp - 0xd]
xor eax, eax
test bl, bl
mov ecx, 0xa
lea edi, [edx + 0x547c]
rep stosd dword es:[edi], eax
je 0x58e495
mov ecx, dword [0x67d890]
push esi
push 1
push esi
push esi
push 1
push 1
call fcn.0048ee30
mov eax, dword [ebp - 0x3c]
push eax
call fcn.005f8040
mov ecx, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4