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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2b4]
cmp eax, dword [ecx + 8]
jbe 0x5bf930
sub esp, 0x334
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5bedb3
nop
movzx ebx, byte [0x8ae228]
test bl, bl
je 0x5bed79
mov dword [0x8ae22c], edx
mov ebx, dword [0x8d5630]
test ebx, ebx
jne 0x5bed6e
mov dword [0x8ae230], eax
jmp 0x5bed79
lea edi, [0x8ae230]
call fcn.0045efb0
mov dword [esp + 0x278], edx
mov dword [esp + 0x27c], eax
mov edx, dword [esp + 0x278]
test edx, edx
je 0x5bedab
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5bedb9
or ebx, 0x80
jmp 0x5bedb9
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5bedb9
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1f
call fcn.004b0450
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x64], eax
cmp eax, 9
ja 0x5bee0c
cmp eax, 7
jne 0x5bedf0
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5bee32
cmp eax, 8
jne 0x5bedfc
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5bee32
cmp eax, 9
jne 0x5bf8f5
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5bee32
cmp eax, 0xa
jne 0x5bee17
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5bee32
cmp eax, 0xb
jne 0x5bee25
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5bee32
cmp eax, 0xc
jne 0x5bf8f5
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5bf3d4
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x338]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5bee99
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045f208
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x68b380]
cmp ecx, ebx
jne 0x5bf8df
lea edi, [esp + 0x98]
call fcn.0045f520
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
jmp 0x5beed6
lea edi, [esp + 0x178]
xor eax, eax
call fcn.0045f204
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x68ae40]
cmp ecx, ebx
jne 0x5bf8c9
lea edi, [esp + 0x178]
call fcn.0045f4f8
mov ecx, dword [esp + 0x190]
mov ebp, dword [esp + 0x24]
sub ebp, ecx
mov ebx, ebp
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005b7ea0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5bef04
mov edx, dword [0x8ad878]
xor ebx, ebx
jmp 0x5bef3c
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5bf8c2
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x5bf8b6
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x5bf3c2
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ebx
lea eax, [0x6844e0]
mov dword [esp], eax
call fcn.0040b430
mov esi, dword [esp + 4]
mov dword [esp + 0x270], esi
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x5bf033
cmp eax, 2
je 0x5beff5
cmp eax, 3
jne 0x5befba
lea edi, [esp + 0x68]
call fcn.0045f6d8
lea eax, [0x6844e0]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x6844e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b53b0
mov eax, dword [esp + 8]
jmp 0x5bf06f
lea edi, [esp + 0x68]
call fcn.0045f6d8
lea eax, [0x6844e0]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x6844e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b53b0
mov eax, dword [esp + 8]
jmp 0x5bf06f
lea edi, [esp + 0x68]
call fcn.0045f6d8
lea eax, [0x6844e0]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x6844e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b53b0
mov eax, dword [esp + 8]
add eax, 0xfffffffc
jmp 0x5bf06f
lea edi, [esp + 0x68]
call fcn.0045f6d8
lea eax, [0x6844e0]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x6844e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b53b0
mov eax, dword [esp + 8]
add eax, 0xfffffff8
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
cmp ecx, edx
setb bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x5bf350
mov ebx, dword [esp + 0x338]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, ecx
jbe 0x5bf0a3
cmp ebp, edx
jae 0x5bf10e
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x65aa40]
mov dword [esp + 0x280], eax
lea eax, [0x700330]
mov dword [esp + 0x284], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005035b0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.0045f6d8
lea eax, [0x6844e0]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x6844e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b53b0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x65ac00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004480c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jb 0x5bf8af
mov esi, dword [esp + 0x50]
cmp esi, ebp
ja 0x5bf8a6
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
add edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jl 0x5bf1b4
mov ebx, ebp
mov dword [esp + 0x26c], eax
cmp eax, edx
je 0x5bf1cf
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0045f930
lea eax, [0x6715a0]
mov dword [esp], eax
call fcn.0040b430
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0x8d5630]
test eax, eax
jne 0x5bf200
mov eax, dword [esp + 0x26c]
mov dword [edi], eax
jmp 0x5bf20c
mov eax, dword [esp + 0x26c]
call fcn.0045efb0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x700990]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x701d48]
mov dword [esp + 8], eax
lea eax, [0x8d5410]
mov dword [esp + 0xc], eax
lea eax, [0x6494a0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x14], eax
call fcn.004b4040
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5bf2de
lea eax, [0x672620]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [esp + 0x274], eax
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.0045f6d8
lea ecx, [0x6844e0]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x6844e0]
mov edx, dword [esp + 0x274]
mov dword [edx], ecx
mov ecx, dword [0x8d5630]
test ecx, ecx
jne 0x5bf2c5
mov dword [edx + 4], eax
jmp 0x5bf2cd
lea edi, [edx + 4]
call fcn.0045efb0
mov eax, dword [esp + 0x270]
mov ecx, dword [eax + 4]
xor ebx, ebx
jmp 0x5bf42b
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x65aa40]
mov dword [esp + 0x280], eax
lea eax, [0x700338]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005035b0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x65aa40]
mov dword [esp + 0x280], eax
lea eax, [0x700330]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005035b0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
lea edi, [esi + 1]
mov dword [eax + 0xc], edi
lea esi, [esi + esi*2]
mov dword [ecx + esi*4], ebp
mov dword [ecx + esi*4 + 4], edx
mov ebp, dword [esp + 0x60]
test ebp, 1
xchg ebp, ebx
setne bl
xchg ebp, ebx
lea esi, [ecx + esi*4 + 8]
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
mov ebp, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x40]
lea ecx, [ebp + 8]
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
cmp dword [eax + 8], ebx
jle 0x5bf5ba
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x338]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b7ea0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5bf471
mov ebx, dword [0x8ad878]
xor ebp, ebp
jmp 0x5bf4a8
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5bf89f
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5bf893
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5bf5ac
test ebp, 1
je 0x5bf4bf
mov ebx, ebp
and ebp, 0xfffffffe
jmp 0x5bf4c1
mov ebx, ebp
mov dword [esp + 0x60], ebx
lea esi, [eax + 4]
cmp edx, esi
jae 0x5bf4d6
mov eax, dword [0x8ad878]
xor edx, edx
jmp 0x5bf513
mov edx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebx, dword [ecx + 0x290]
cmp edx, esi
jb 0x5bf88a
sub ebx, eax
sub edx, eax
add ebx, 0xfffffffc
neg ebx
sar ebx, 0x1f
and esi, ebx
add edx, 0xfffffffc
cmp edx, 3
jbe 0x5bf87e
mov edx, dword [esi + edi]
mov ebx, dword [esp + 0x60]
xor eax, eax
test eax, eax
jne 0x5bf59c
mov eax, dword [esp + 0x274]
mov esi, dword [eax + 0xc]
lea edi, [esi + 1]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
cmp ebx, edi
jae 0x5bf3e6
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x672220]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.00448240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x274]
mov dword [ebx + 0x10], edx
mov edx, dword [0x8d5630]
test edx, edx
jne 0x5bf581
mov dword [ebx + 8], eax
jmp 0x5bf589
lea edi, [ebx + 8]
call fcn.0045efb0
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov ecx, eax
mov eax, ebx
jmp 0x5bf3e6
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
jmp 0x5bf5ba
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5bf5c5
xor ecx, ecx
jmp 0x5bf5e6
mov dword [esp + 0x33c], edx
add esp, 0x334
ret
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
lea ebx, [edx + 4]
mov edx, dword [esp + 0x274]
mov eax, ebx
cmp ecx, 0x400
jge 0x5bf5c5
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x338]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b7ea0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5bf62b
mov edx, dword [0x8ad878]
xor ebx, ebx
jmp 0x5bf662
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5bf877
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x5bf86b
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x5bf793
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x2b0]
xor eax, eax
call fcn.0045f235
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0xb0]
mov ebp, dword [ecx + 0xac]
test edx, edx
je 0x5bf69e
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x5bf7b5
lea edi, [esp + 0x2b0]
call fcn.0045f235
lea edi, [esp + 0x2dc]
lea esi, [esp + 0x2b0]
call fcn.0045f6e2
mov ecx, dword [esp + 0x2e0]
mov edx, dword [esp + 0x2e4]
mov ebp, dword [esp + 0x274]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov edi, edx
lea edx, [ecx + 1]
mov ebx, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x1c]
cmp ebp, edx
jae 0x5bf74b
mov dword [esp + 0x268], esi
mov dword [esp + 0x5c], edi
lea eax, [0x6722a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00448240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x274]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x8d5630]
test edx, edx
jne 0x5bf734
mov dword [ebx + 0x14], eax
jmp 0x5bf73c
lea edi, [ebx + 0x14]
call fcn.0045efb0
mov esi, dword [esp + 0x268]
mov edi, dword [esp + 0x5c]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov ebp, dword [esp + 0x274]
mov dword [ebp + 0x18], edx
shl ecx, 4
mov edx, dword [esp + 0x3c]
mov dword [ebx + ecx], edx
mov ebp, dword [esp + 0x28]
mov dword [ebx + ecx + 4], ebp
mov dword [ebx + ecx + 0xc], edi
mov ebp, dword [0x8d5630]
lea edi, [ebx + ecx + 8]
test ebp, ebp
jne 0x5bf785
mov dword [ebx + ecx + 8], esi
jmp 0x5bf5d3
mov eax, esi
call fcn.0045efb0
xor eax, eax
jmp 0x5bf5d3
mov edx, dword [esp + 0x274]
jmp 0x5bf5c5
add ebp, 0x2c
mov ebx, dword [esp + 0x3c]
mov ebx, esi
mov esi, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x338]
mov dword [esp + 0x5c], edi
lea edi, [esp + 0x308]
mov esi, ebp
call fcn.0045f6e2
mov ecx, dword [esp + 0x318]
mov esi, ebx
mov ebx, dword [esp + 0x314]
test ecx, ecx
je 0x5bf7ed
mov dword [esp + 0x58], ecx
mov edi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5bf819
mov ecx, dword [esp + 0x5c]
inc ecx
cmp edx, ecx
jg 0x5bf79f
mov ecx, dword [esp + 0x338]
mov ebx, esi
jmp 0x5bf69e
add ebx, 0x28
mov ecx, edx
mov edx, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], ebp
mov ebp, esi
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x288]
mov esi, ebx
call fcn.0045f6ec
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x2a8], ecx
je 0x5bf84f
mov esi, ebp
mov ebp, dword [esp + 0x20]
inc ebp
mov edi, edx
mov edx, dword [esp + 0x58]
cmp edx, ebp
jg 0x5bf804
mov edx, edi
mov ebp, esi
mov esi, dword [esp + 0x28]
jmp 0x5bf7ed
lea edi, [esp + 0x2b0]
lea esi, [esp + 0x308]
call fcn.0045f6e2
mov ebx, dword [esp + 0x28]
jmp 0x5bf6aa
mov eax, 3
mov ecx, edx
call fcn.0045f030
mov ecx, edx
call fcn.0045f0a0
mov eax, 3
mov ecx, edx
call fcn.0045f030
mov eax, esi
mov ecx, edx
call fcn.0045f0a0
mov eax, 3
mov ecx, ebx
call fcn.0045f030
mov ecx, ebx
call fcn.0045f0a0
mov eax, esi
mov ecx, ebp
call fcn.0045f0a0
mov ecx, ebp
call fcn.0045f080
mov eax, 3
mov ecx, edx
call fcn.0045f030
mov ecx, edx
call fcn.0045f0a0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x65a380]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x65a380]
mov dword [esp + 8], eax
call fcn.00408a40
lea eax, [0x66b720]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x698b91]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x662520]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434020
nop
call fcn.0045dba0
jmp fcn.005bed10