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

Disassembly:
push 0xffffffffffffffff
push 0x697296
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x7c]
mov eax, dword [edi]
mov ecx, eax
cmp eax, edi
mov dword [esp + 0x14], ecx
je 0x5846ee
lea ebx, [esi + 0x88]
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0058c170
mov eax, dword [esi + 0x8c]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x584690
mov ecx, dword [esp + 0x10]
fld dword [ecx + 0x84]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
je 0x5846d9
fld dword [ecx + 0x80]
fsub dword [0x6d3ab0]
fstp dword [ecx + 0x80]
mov eax, dword [esp + 0x10]
fld dword [eax + 0x80]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
je 0x5846d9
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.0058bc50
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jmp 0x5846e2
mov eax, dword [esp + 0x10]
fld dword [eax + 0x80]
fsub dword [0x6d3ab0]
fstp dword [eax + 0x80]
mov ecx, dword [esp + 0x10]
fld dword [ecx + 0x80]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
je 0x5846d9
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.0058bc50
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
jmp 0x5846e2
lea ecx, [esp + 0x14]
call fcn.0058d420
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x58460a
mov ecx, esi
call fcn.00585830
mov eax, dword [esi + 0xe4]
xor ebx, ebx
cmp eax, 2
jne 0x5847c3
mov ecx, dword [esi + 0x19c]
mov dword [esi + 0xe4], ebx
mov edx, dword [0x818794]
push 1
push ecx
push ecx
mov eax, dword [edx + 0x474]
mov ecx, dword [0x818990]
push eax
push eax
call fcn.0047a710
xor edi, edi
mov eax, dword [0x818794]
lea ecx, [edi + 0x7532]
push 1
push ecx
mov eax, dword [eax + 0x474]
mov ecx, dword [0x818990]
push 0x7532
push eax
push eax
call fcn.0047a710
inc edi
cmp edi, 8
jl 0x584731
mov edx, dword [esi + 0x18]
push ebx
add edx, 0x1e4
sub esp, 0xc
mov eax, esp
lea edi, [esi + 0xe8]
mov ecx, dword [edx]
push edi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, esi
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
call fcn.00583780
test al, al
jne 0x58479e
mov ecx, dword [esi + 0x18]
push 1
push ebx
call fcn.005d6430
jmp 0x584ae7
mov eax, dword [esi + 0x18]
sub esp, 0xc
add eax, 0x1e4
mov ecx, esp
push edi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.00583b90
mov edi, dword [esi + 0x8c]
mov dword [esp + 0x48], edi
mov ebp, dword [edi]
cmp ebp, edi
mov dword [esp + 0x10], ebp
je 0x584ae7
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
fld dword [ecx + 0x84]
fsub dword [0x6d3ab0]
fst dword [ecx + 0x84]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
je 0x584a9f
mov ecx, dword [ecx]
mov edi, dword [0x818760]
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ecx
push edx
push eax
lea ecx, [edi + 0x14]
call fcn.0046d7e0
mov edi, dword [edi + 0x18]
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x584ae7
lea edi, [eax + 0x10]
cmp edi, ebx
je 0x584ae7
mov edx, dword [edi + 0x5c]
cmp edx, 1
jne 0x584884
mov ecx, dword [0x818794]
push ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [ecx + 0x474]
push ebx
lea edx, [esp + 0x70]
push ebx
push edx
push eax
push eax
mov eax, dword [edi]
mov ecx, esi
push eax
push 3
call fcn.00583540
jmp 0x58495a
mov eax, dword [edi]
cmp eax, 0x7a146
jne 0x5848d4
mov ecx, dword [0x818794]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [ecx + 0x474]
mov ecx, dword [esi + 0xdc]
push ebx
push ebx
lea edx, [esp + 0x7c]
push ebx
push edx
push ecx
push eax
push 0x7a146
push 3
mov ecx, esi
call fcn.00583540
jmp 0x58495a
cmp eax, 0x7a513
jne 0x58491e
mov eax, dword [0x818794]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ecx, dword [eax + 0x474]
mov eax, dword [eax + 0x454]
push ebx
push ebx
lea edx, [esp + 0x64]
push ebx
push edx
push eax
push ecx
push 0x7a513
push 3
mov ecx, esi
call fcn.00583540
jmp 0x58495a
mov ecx, dword [0x818794]
push ebx
push ebx
lea ebp, [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [ecx + 0x474]
push ebx
push ebp
push edx
push ecx
push eax
push 3
mov ecx, esi
call fcn.00583540
mov ebp, dword [esp + 0x10]
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], dl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x28]
mov dword [esp + 0xd8], ebx
push eax
push 0x1132
call fcn.00615080
mov edi, dword [edi + 0x18]
add esp, 8
cmp edi, ebx
jne 0x584993
mov edi, 0x6a3560
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x5849a0
mov eax, 0x6a3560
push edi
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.0067429f
lea edi, [esp + 0x8c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x1b]
lea eax, [esp + 0x80]
not ecx
dec ecx
mov byte [esp + 0x38], dl
push ecx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004083a0
lea ecx, [esp + 0x38]
push 0xffffff00
push ecx
mov ecx, dword [esi + 0x18]
mov byte [esp + 0xe0], 1
call fcn.005d7250
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xd8], bl
cmp eax, ebx
je 0x584a2f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x584a26
cmp al, 0xff
je 0x584a26
dec al
mov byte [ecx], al
jmp 0x584a2f
push ecx
call fcn.006713a0
add esp, 4
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push ebp
push eax
lea ecx, [esi + 0x88]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [edx + 0x84], ebx
call fcn.0058bc50
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
cmp ecx, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xd8], 0xffffffff
je 0x584a8d
mov al, byte [ecx - 1]
cmp al, bl
je 0x584a83
cmp al, 0xff
je 0x584a83
dec al
mov byte [ecx - 1], al
jmp 0x584a8d
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov edi, dword [esp + 0x48]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
jmp 0x584adf
mov ecx, dword [ebp + 8]
mov edx, dword [0x8170c0]
cmp ecx, edx
je 0x584abe
mov eax, dword [ecx]
cmp eax, edx
je 0x584aba
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x584ab2
mov ebp, ecx
jmp 0x584adb
mov eax, dword [ebp + 4]
cmp ebp, dword [eax + 8]
jne 0x584ad4
mov ebp, eax
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ebp
cmp ebp, dword [eax + 8]
je 0x584ac6
cmp dword [ebp + 8], eax
je 0x584adf
mov ebp, eax
mov dword [esp + 0x10], ebp
cmp ebp, edi
jne 0x5847db
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret