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

Disassembly:
push 0xffffffffffffffff
push 0x83d53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, 0x8e4cc0
lea esp, [esp]
mov ecx, esi
call fcn.00407460
add esi, 0x14
cmp esi, 0x9654b0
jl 0x5b8af0
or ecx, 0xffffffff
push ebp
xor ebp, ebp
mov dword [0x9654b4], 0x8e4cc0
mov dword [0x8e4c60], 0x965460
mov dword [0x8e4c5c], 0x965474
mov dword [0x8e4c58], 0x965488
mov dword [0x8e4c54], 0x96549c
mov word [0x965460], 0x66c9
mov word [0x965462], cx
mov word [0x965474], cx
mov word [0x965476], 0x66c8
mov word [0x965488], 0x66cb
mov word [0x96548a], cx
mov word [0x96549c], cx
mov word [0x96549e], 0x66ca
mov dword [0x8e4b98], ebp
mov dword [0x8e4b94], ebp
mov byte [0x8e6a08], 1
mov byte [0x8e6a1c], 1
mov byte [0x8e6a30], 1
mov byte [0x8e6a44], 1
mov byte [0x8e6a58], 1
mov byte [0x8e6a6c], 1
mov byte [0x8e6a80], 1
mov byte [0x8e6a94], 1
mov dword [0x8e4ca8], ebp
mov byte [0x9654b0], 0
mov dword [0x8e4cb4], ebp
mov dword [0x8e4b90], ecx
mov byte [0x8e4a58], 0
mov byte [0x8e4ca4], 1
mov byte [0x8e4b9d], 0
mov byte [0x8e4b9c], 0
mov dword [0x8e4ae0], ebp
mov dword [0x8e4b78], ebp
mov eax, 0x8e4af8
mov dword [eax - 0x98], ecx
mov dword [eax], ecx
add eax, 4
cmp eax, 0x8e4b38
jl 0x5b8c04
push ebx
push edi
mov edi, 0xa9b0c8
mov esi, 0x8e4cc6
mov bl, 0xff
mov ecx, dword [edi]
cmp ecx, ebp
je 0x5b8c49
cmp dword [ecx + 0x1c], ebp
je 0x5b8c49
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esi], 0
mov dl, byte [esi]
or dl, 2
cmp eax, ebp
mov byte [esi], dl
mov byte [esi + 0xa], 1
je 0x5b8c49
mov byte [eax + 0xc], bl
add esi, 0x14
add edi, 4
cmp esi, 0x946746
jl 0x5b8c24
mov eax, dword [0xc8800c]
xor esi, esi
mov ecx, 0x24
mov edi, 0x946764
mov bl, pe_nt_image_headers32
lea ebx, [ebx]
mov edx, dword [eax + 4]
test byte [esi + edx], bl
jne 0x5b8c8a
mov edx, dword [eax]
lea edx, [ecx + edx - 0x24]
cmp edx, ebp
je 0x5b8c8a
cmp dword [edx], ebp
je 0x5b8c8a
mov byte [edi - 0x14], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 1], bl
jne 0x5b8ca4
mov edx, dword [eax]
lea edx, [ecx + edx - 0x18]
cmp edx, ebp
je 0x5b8ca4
cmp dword [edx], ebp
je 0x5b8ca4
mov byte [edi], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 2], bl
jne 0x5b8cbf
mov edx, dword [eax]
lea edx, [ecx + edx - 0xc]
cmp edx, ebp
je 0x5b8cbf
cmp dword [edx], ebp
je 0x5b8cbf
mov byte [edi + 0x14], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 3], bl
jne 0x5b8cd8
mov edx, dword [eax]
add edx, ecx
cmp edx, ebp
je 0x5b8cd8
cmp dword [edx], ebp
je 0x5b8cd8
mov byte [edi + 0x28], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 4], bl
jne 0x5b8cf3
mov edx, dword [eax]
lea edx, [ecx + edx + 0xc]
cmp edx, ebp
je 0x5b8cf3
cmp dword [edx], ebp
je 0x5b8cf3
mov byte [edi + 0x3c], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 5], bl
jne 0x5b8d0e
mov edx, dword [eax]
lea edx, [ecx + edx + 0x18]
cmp edx, ebp
je 0x5b8d0e
cmp dword [edx], ebp
je 0x5b8d0e
mov byte [edi + 0x50], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 6], bl
jne 0x5b8d29
mov edx, dword [eax]
lea edx, [ecx + edx + 0x24]
cmp edx, ebp
je 0x5b8d29
cmp dword [edx], ebp
je 0x5b8d29
mov byte [edi + 0x64], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 7], bl
jne 0x5b8d44
mov edx, dword [eax]
lea edx, [ecx + edx + 0x30]
cmp edx, ebp
je 0x5b8d44
cmp dword [edx], ebp
je 0x5b8d44
mov byte [edi + 0x78], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 8], bl
jne 0x5b8d62
mov edx, dword [eax]
lea edx, [ecx + edx + 0x3c]
cmp edx, ebp
je 0x5b8d62
cmp dword [edx], ebp
je 0x5b8d62
mov byte [edi + 0x8c], 1
mov edx, dword [eax + 4]
test byte [edx + esi + 9], bl
jne 0x5b8d80
mov edx, dword [eax]
lea edx, [ecx + edx + 0x48]
cmp edx, ebp
je 0x5b8d80
cmp dword [edx], ebp
je 0x5b8d80
mov byte [edi + 0xa0], 1
add ecx, 0x78
add esi, 0xa
add edi, 0xc8
cmp ecx, 0xea84
jl 0x5b8c70
mov ecx, 0x8e4c24
call fcn.00611b90
or esi, 0xffffffff
mov eax, esi
mov ecx, 8
mov edi, 0x8e4c00
rep stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x12
mov edi, 0x8e4bb8
push 0x10
mov dword [0x8e4bb0], ebp
rep stosd dword es:[edi], eax
call fcn.0082119a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
pop edi
mov dword [esp + 0x18], ebp
pop ebx
je 0x5b8ded
push 0x226
mov ecx, eax
call fcn.005322a0
jmp 0x5b8def
xor eax, eax
mov ecx, 0xa47b60
mov dword [esp + 0x14], esi
mov dword [0x8e48d0], eax
mov dword [0x8e4c20], esi
mov word [0x8e4bac], bp
mov dword [0x8e4ba4], esi
mov dword [0x8e4ba0], ebp
call fcn.00470660
call fcn.005b82c0
mov eax, dword [0x8e4ca8]
test al, 1
je 0x5b8e2f
inc eax
mov dword [0x8e4ca8], eax
push ebp
shl eax, 0xb
push 0x800
push eax
call fcn.0072f4c0
mov ecx, eax
mov eax, dword [0x8e4ca8]
cdq
sub eax, edx
sar eax, 1
mov dword [0x8e4ca8], eax
shl eax, 0xb
add eax, ecx
push 0x2ee0
mov dword [0x8e4cac], ecx
mov dword [0x8e4cb0], eax
mov dword [0x8a5a80], 0x3200000
mov dword [0x8a5a84], 0x16
call fcn.00821195
add esp, 0x10
mov edx, 0x965514
mov esi, 0x965508
mov dword [0x965520], eax
mov dword [0x9654f8], 0x9654fc
mov dword [0x965500], 0x9654f0
mov dword [0x965510], edx
mov dword [0x965518], esi
mov ecx, 0x2ee0
pop ebp
mov eax, dword [0x965520]
sub ecx, 0xc
lea eax, [ecx + eax]
mov dword [eax + 8], edx
mov edx, dword [0x965510]
mov dword [edx + 4], eax
mov edx, eax
mov dword [eax + 4], esi
mov dword [0x965510], edx
jne 0x5b8eb5
mov ecx, dword [esp + 8]
mov dword [0x9654b8], 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret