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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x68f96c
push eax
mov eax, 0xdbd0
mov dword fs:[0], esp
call fcn.00677d6b
push ebx
mov ebx, dword [esp + 0xdbe8]
push ebp
push esi
mov edx, dword [ebx + 0x12]
push edi
xor edi, edi
mov dword [esp + 0x18], ecx
mov cl, byte [ebx + 0x91]
xor eax, eax
cmp edx, edi
sete al
test cl, 0xf8
mov dword [esp + 0x40], eax
jne 0x5e89db
test byte [ebx + 0x92], 0xf
je 0x5e955f
mov ebp, dword [esp + 0xdbf0]
mov ecx, ebp
mov eax, dword [ebp]
call dword [eax + 0x14]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x1c], eax
jle 0x5e8a12
lea edi, [esp + 0xc0]
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
inc esi
add edi, 4
cmp esi, eax
jl 0x5e89fb
test byte [ebx + 0x92], 2
je 0x5e8a94
test eax, eax
jle 0x5e8a94
mov eax, dword [esp + 0xc0]
xor esi, esi
cmp eax, 0x7d0
jge 0x5e8a7a
lea edi, [esp + 0x2068]
cmp esi, dword [esp + 0x1c]
jge 0x5e8a7a
mov eax, dword [ebp]
lea ecx, [esp + 0x50]
push esi
push ecx
mov ecx, ebp
call dword [eax + 0x10]
mov edx, dword [eax]
inc esi
mov dword [edi - 8], edx
mov ecx, dword [eax + 4]
mov dword [edi - 4], ecx
mov edx, dword [eax + 8]
mov eax, dword [esp + esi*4 + 0xbc]
mov dword [edi], edx
mov dword [esp + esi*4 + 0x10bc], eax
mov eax, dword [esp + esi*4 + 0xc0]
add edi, 0xc
cmp eax, 0x7d0
jl 0x5e8a36
lea ecx, [esp + 0x10c0]
push esi
lea edx, [esp + 0x2064]
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.005e6293
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
jle 0x5e9189
xor ecx, ecx
mov edx, 4
jmp 0x5e8ab2
mov edx, 4
xor ecx, ecx
mov eax, dword [esp + edi*4 + 0xc0]
lea ebx, [esp + edi*4 + 0xc0]
cmp eax, ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], ecx
jl 0x5e8adb
cmp eax, 0x3e8
jge 0x5e8ae2
mov dword [esp + 0x10], 1
cmp eax, 0x3e8
jl 0x5e8af1
cmp eax, 0x7d0
jge 0x5e8af8
mov dword [esp + 0x10], 2
cmp eax, 0x7d0
jl 0x5e8b07
cmp eax, 0xbb8
jge 0x5e8b0e
mov dword [esp + 0x10], 3
cmp eax, 0xbb8
jl 0x5e8b19
cmp eax, 0xfa0
jge 0x5e8b20
mov dword [esp + 0x10], ecx
cmp eax, 0xfa0
jl 0x5e8b2b
cmp eax, 0x1388
jge 0x5e8b32
mov dword [esp + 0x10], edx
cmp eax, 0x1388
jl 0x5e8b3d
cmp eax, 0x1770
jge 0x5e8b44
mov dword [esp + 0x10], ecx
cmp eax, 0x1770
jl 0x5e8b53
cmp eax, 0x1b58
jge 0x5e8b5a
mov dword [esp + 0x10], 5
cmp eax, 0x1b58
jl 0x5e8b65
cmp eax, 0x1f40
jge 0x5e8b65
mov dword [esp + 0x10], ecx
cmp eax, 0x2711
jne 0x5e8b74
mov dword [esp + 0x10], 9
cmp dword [0x7380cc], edx
jb 0x5e8ca1
mov ecx, dword [esp + 0xdbf4]
test byte [ecx + 0x91], 0x20
je 0x5e8ca1
cmp dword [esp + 0x10], 3
jne 0x5e8ca1
cmp eax, 0x7d0
mov dword [esp + 0x14], 0
jl 0x5e8c03
mov ebp, dword [esp + 0xdbf0]
lea esi, [esp + 0x4f48]
cmp eax, 0xbb8
jge 0x5e8c03
cmp edi, dword [esp + 0x1c]
jge 0x5e8c03
mov edx, dword [ebp]
lea eax, [esp + 0xa8]
push edi
push eax
mov ecx, ebp
call dword [edx + 0x10]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esi - 4], edx
mov edx, dword [esp + 0x14]
add ebx, 4
mov dword [esi - 8], ecx
mov dword [esi], eax
mov eax, dword [ebx]
inc edx
add esi, 0xc
inc edi
cmp eax, 0x7d0
mov dword [esp + 0x14], edx
jge 0x5e8bbc
mov ecx, dword [esp + 0x14]
test ecx, ecx
lea eax, [ecx - 1]
je 0x5e8ca1
lea ecx, [eax + eax*2]
inc eax
mov dword [esp + 0x14], eax
lea esi, [esp + ecx*4 + 0x4f44]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x80]
fld dword [esi + 4]
mov ebx, dword [edx + 8]
lea ecx, [esp + 0x20]
fmul dword [0x7dd3cc]
mov ebp, dword [ebx]
push eax
mov word [esp + 0x24], 0
push ecx
call fcn.00674a84
fld dword [esi]
fmul dword [0x7dd38c]
push eax
call fcn.00674a84
fld dword [esi - 4]
fmul dword [0x7dd38c]
push eax
call fcn.00674a84
push eax
lea ecx, [esp + 0x98]
call fcn.005b8b8b
mov ecx, dword [esp + 0x20]
push eax
mov edx, dword [ecx]
call dword [edx + 0xbc]
push eax
push 0x106
mov ecx, ebx
call dword [ebp + 0x94]
mov eax, dword [esp + 0x14]
sub esi, 0xc
dec eax
test eax, eax
mov dword [esp + 0x14], eax
ja 0x5e8c21
mov eax, dword [esp + 0xdbf4]
test byte [eax + 0x91], 0x80
je 0x5e8f4b
cmp dword [esp + 0x10], 5
jne 0x5e8f4b
mov ecx, dword [esp + 0x18]
add eax, 0x1a
push eax
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x1d4]
lea ebp, [esp + edi*4 + 0xc0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp]
cmp eax, 0x1770
jl 0x5e8d4e
mov ebx, dword [esp + 0xdbf0]
lea esi, [esp + 0x2068]
cmp eax, 0x1b58
jge 0x5e8d55
cmp edi, dword [esp + 0x1c]
jge 0x5e8d55
mov eax, dword [ebx]
lea ecx, [esp + 0x9c]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esi - 8], edx
mov edx, dword [eax + 8]
mov eax, dword [ebp + 4]
mov dword [esi], edx
mov edx, dword [esp + 0x24]
add ebp, 4
mov dword [esi - 4], ecx
inc edx
add esi, 0xc
inc edi
cmp eax, 0x1770
mov dword [esp + 0x24], edx
jge 0x5e8d05
jmp 0x5e8d55
mov ebx, dword [esp + 0xdbf0]
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x28], 0x10c
mov al, byte [ecx + 0xa]
mov edx, dword [eax*4 + 0x6b8a88]
test byte [edx + 0x17b], 0x80
je 0x5e8d83
mov dword [esp + 0x28], 0x11a
jmp 0x5e8e91
mov eax, dword [esp + 0x2c]
push eax
call fcn.004a29da
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
fild qword [esp + 0x5c]
mov eax, dword [esp + 0x24]
test eax, eax
fmul dword [0x7dd394]
fstp dword [esp + 0x48]
jle 0x5e8e91
lea esi, [esp + 0x2068]
mov ecx, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], ecx
fld dword [esi]
fsub dword [esp + 0x48]
fabs
fcomp qword [0x7dd434]
fnstsw ax
test ah, 1
je 0x5e8e74
mov dword [esp + 0x14], 0
fld dword [esi - 8]
mov ebx, dword [esp + 0x18]
mov word [esp + 0x20], 0
fmul dword [0x7dd38c]
mov ebp, dword [ebx + 8]
call fcn.00674a84
fld dword [esi - 4]
fmul dword [0x7dd38c]
mov dword [esp + 0x64], eax
call fcn.00674a84
fld dword [esi]
fmul dword [0x7dd3cc]
mov dword [esp + 0x68], eax
call fcn.00674a84
mov edx, dword [ebp]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x68]
push ecx
push eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x3c], edx
call dword [eax + 0xbc]
mov edx, dword [esp + 0x3c]
push eax
push 0x124
mov ecx, ebp
call dword [edx + 0x94]
mov eax, dword [esp + 0x14]
sub esi, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x5e8de5
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esi, 0xc
dec eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
jne 0x5e8dc4
mov ebx, dword [esp + 0xdbf0]
mov ecx, dword [esp + 0x24]
test ecx, ecx
lea eax, [ecx - 1]
je 0x5e8f42
lea edx, [eax + eax*2]
inc eax
mov dword [esp + 0x2c], eax
lea esi, [esp + edx*4 + 0x2064]
mov ebp, dword [esp + 0x18]
mov word [esp + 0x20], 0
fld dword [esi - 4]
fmul dword [0x7dd38c]
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.00674a84
fld dword [esi]
fmul dword [0x7dd38c]
mov dword [esp + 0x70], eax
call fcn.00674a84
fld dword [esi + 4]
fmul dword [0x7dd3cc]
mov dword [esp + 0x74], eax
call fcn.00674a84
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x44]
mov edx, dword [ecx]
push eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x74]
push ecx
push eax
mov eax, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x3c], edx
call dword [eax + 0xbc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x48]
call dword [edx + 0x94]
mov eax, dword [esp + 0x2c]
sub esi, 0xc
dec eax
test eax, eax
mov dword [esp + 0x2c], eax
ja 0x5e8eaf
mov eax, dword [esp + 0xdbf4]
jmp 0x5e8f52
mov ebx, dword [esp + 0xdbf0]
test byte [eax + 0x92], 1
je 0x5e9047
cmp dword [esp + 0x10], 4
jne 0x5e9047
mov eax, dword [esp + edi*4 + 0xc0]
lea ebp, [esp + edi*4 + 0xc0]
cmp eax, 0xfa0
mov dword [esp + 0x14], 0
jl 0x5e8ff0
lea ecx, [esp + 0x10c0]
lea esi, [esp + 0x7e28]
mov dword [esp + 0x28], ecx
cmp eax, 0x1388
jge 0x5e8ff0
cmp edi, dword [esp + 0x1c]
jge 0x5e8ff0
mov edx, dword [ebx]
lea eax, [esp + 0x90]
push edi
push eax
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, dword [eax]
add ebp, 4
mov dword [esi - 8], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 4]
mov dword [esi - 4], edx
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
add esi, 0xc
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
add eax, 4
inc ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
inc edi
cmp eax, 0xfa0
mov dword [esp + 0x14], ecx
jge 0x5e8f99
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x10c0]
push esi
lea eax, [esp + 0x7e24]
push edx
push eax
mov ecx, ebx
call fcn.005e6293
lea ecx, [esp + 0x10c0]
push esi
lea edx, [esp + 0x7e24]
push ecx
push edx
mov ecx, ebx
call fcn.005e6293
lea eax, [esp + 0x10c0]
push esi
lea ecx, [esp + 0x7e24]
push eax
push ecx
mov ecx, ebx
call fcn.005e6293
mov eax, dword [esp + 0xdbf4]
test byte [eax + 0x92], 4
je 0x5e9171
cmp dword [esp + 0x10], 9
jne 0x5e9171
mov eax, dword [esp + edi*4 + 0xc0]
lea ebx, [esp + edi*4 + 0xc0]
cmp eax, 0x2711
mov dword [esp + 0x14], 0
jne 0x5e90ca
mov ebp, dword [esp + 0xdbf0]
lea esi, [esp + 0xad08]
cmp edi, dword [esp + 0x1c]
jge 0x5e90ca
mov edx, dword [ebp]
lea eax, [esp + 0xb4]
push edi
push eax
mov ecx, ebp
call dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi - 8], ecx
mov ecx, dword [esp + 0x14]
add ebx, 4
mov dword [esi - 4], edx
mov dword [esi], eax
mov eax, dword [ebx]
inc ecx
add esi, 0xc
inc edi
cmp eax, 0x2711
mov dword [esp + 0x14], ecx
je 0x5e908a
mov ecx, dword [esp + 0x14]
test ecx, ecx
lea eax, [ecx - 1]
je 0x5e9171
lea ecx, [eax + eax*2]
inc eax
mov dword [esp + 0x28], eax
lea esi, [esp + ecx*4 + 0xad04]
fld dword [esi - 4]
mov ebp, dword [esp + 0x18]
mov word [esp + 0x3e], 0
fmul dword [0x7dd38c]
mov ebx, dword [ebp + 8]
call fcn.00674a84
fld dword [esi]
fmul dword [0x7dd38c]
mov dword [esp + 0x50], eax
call fcn.00674a84
fld dword [esi + 4]
fmul dword [0x7dd3cc]
mov dword [esp + 0x54], eax
call fcn.00674a84
mov edx, dword [ebx]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x3e]
push eax
lea eax, [esp + 0x54]
push ecx
push eax
mov eax, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x3c], edx
call dword [eax + 0xbc]
mov edx, dword [esp + 0x3c]
push eax
push 0x101
mov ecx, ebx
call dword [edx + 0x94]
mov eax, dword [esp + 0x28]
sub esi, 0xc
dec eax
test eax, eax
mov dword [esp + 0x28], eax
ja 0x5e90e8
cmp edi, dword [esp + 0x38]
jne 0x5e9178
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x5e8aab
mov ebx, dword [esp + 0xdbf4]
cmp dword [0x7380cc], 4
jb 0x5e959d
mov eax, dword [esp + 0x40]
xor ebp, ebp
cmp eax, ebp
je 0x5e959d
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x242]
mov ecx, dword [eax + 0xc9]
sub ecx, edx
cmp ecx, 1
jbe 0x5e91d2
mov ecx, dword [ebx + 0x246]
cmp ecx, ebp
je 0x5e91cc
push 1
call fcn.004d59a3
mov dword [ebx + 0x246], ebp
mov eax, dword [esp + 0x1c]
mov edi, dword [ebx + 0x246]
cmp eax, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebp
jle 0x5e9515
mov esi, ebp
mov ebx, eax
jmp 0x5e91fa
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + esi*4 + 0xc0]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ecx
jl 0x5e9224
cmp ecx, 0x3e8
jge 0x5e922c
mov eax, 1
mov dword [esp + 0x10], eax
cmp ecx, 0x3e8
jl 0x5e923d
cmp ecx, 0x7d0
jge 0x5e9245
mov eax, 2
mov dword [esp + 0x10], eax
cmp ecx, 0x7d0
jl 0x5e9256
cmp ecx, 0xbb8
jge 0x5e925e
mov eax, 3
mov dword [esp + 0x10], eax
cmp ecx, 0xbb8
jl 0x5e926c
cmp ecx, 0xfa0
jge 0x5e9274
xor eax, eax
mov dword [esp + 0x10], eax
cmp ecx, 0xfa0
jl 0x5e9285
cmp ecx, 0x1388
jge 0x5e928d
mov eax, 4
mov dword [esp + 0x10], eax
cmp ecx, 0x1388
jl 0x5e929b
cmp ecx, 0x1770
jge 0x5e92a3
xor eax, eax
mov dword [esp + 0x10], eax
cmp ecx, 0x1770
jl 0x5e92b4
cmp ecx, 0x1b58
jge 0x5e92bc
mov eax, 5
mov dword [esp + 0x10], eax
cmp ecx, 0x1b58
jl 0x5e92ca
cmp ecx, 0x1f40
jge 0x5e92ca
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, 1
je 0x5e92e8
cmp eax, 2
jne 0x5e94ed
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
dec eax
je 0x5e92f8
dec eax
je 0x5e92f8
mov dword [esp + 0x24], 3
jmp 0x5e9300
mov dword [esp + 0x24], 6
xor edx, edx
mov eax, edi
test edi, edi
je 0x5e932f
cmp dword [eax], ecx
je 0x5e9317
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5e9308
jmp 0x5e932f
test edx, edx
je 0x5e9323
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
jmp 0x5e932a
mov edx, dword [eax + 0x14]
mov dword [esp + 0x14], edx
mov dword [eax + 0x14], ebp
mov ebp, eax
test eax, eax
jne 0x5e93f8
inc esi
cmp esi, ebx
jge 0x5e9357
lea eax, [esp + esi*4 + 0xc0]
mov ecx, dword [eax]
mov edi, dword [eax - 4]
sub ecx, edi
cmp ecx, 1
jne 0x5e9357
inc esi
add eax, 4
cmp esi, ebx
jl 0x5e9343
push 0x1c
mov dword [esp + 0x3c], ebp
call fcn.006749d4
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
test edi, edi
mov dword [esp + 0xdbe8], 0
je 0x5e93dc
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xc], 0
sub esi, ecx
mov ebx, esi
imul esi, dword [esp + 0x24]
lea edx, [esi + esi*2]
shl edx, 2
push edx
call fcn.006749d4
mov ebp, eax
add esp, 4
mov dword [esp + 0x4c], ebp
test ebp, ebp
mov byte [esp + 0xdbe8], 1
je 0x5e93bf
push fcn.0045d2af
push esi
push 0xc
push ebp
call fcn.00451000
jmp 0x5e93c1
xor ebp, ebp
xor eax, eax
mov dword [edi + 0x18], ebp
cmp ebp, eax
je 0x5e93d4
mov ecx, dword [esp + 0x24]
mov dword [edi + 8], ebx
mov dword [edi + 4], ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
jmp 0x5e93de
xor edi, edi
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xdbe8], 0xffffffff
mov ebp, edi
mov dword [edi], edx
mov dword [edi + 0x14], eax
mov ebx, dword [ebp + 4]
dec ebx
mov ecx, ebx
dec ebx
test ecx, ecx
je 0x5e944c
mov ecx, dword [ebp + 8]
mov edx, ecx
dec ecx
test edx, edx
je 0x5e9445
mov esi, dword [ebp + 8]
mov eax, ebx
imul eax, esi
mov edi, dword [ebp + 0x18]
add eax, ecx
lea eax, [eax + eax*2]
lea edx, [edi + eax*4]
lea eax, [ebx + 1]
imul eax, esi
mov esi, dword [edx]
add eax, ecx
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov dword [eax], esi
mov esi, dword [edx + 4]
mov dword [eax + 4], esi
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, ecx
dec ecx
test eax, eax
jne 0x5e940d
mov ecx, ebx
dec ebx
test ecx, ecx
jne 0x5e9403
mov dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
mov edx, eax
dec eax
test edx, edx
je 0x5e948c
mov edi, dword [esp + 0xdbf0]
mov esi, dword [esp + 0x20]
lea ebx, [eax + 1]
mov eax, dword [edi]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov ecx, ebp
call fcn.005e95b8
inc esi
dec ebx
jne 0x5e946b
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0xdbf4]
test byte [esi + 0x91], 0x10
je 0x5e94be
cmp dword [esp + 0x10], 2
jne 0x5e94be
cmp dword [ebp + 8], 1
jle 0x5e94be
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dl, byte [esi + 0x36f]
push 2
push edx
push ebp
call fcn.005e6429
test byte [esi + 0x91], 8
je 0x5e94ed
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
jne 0x5e94ed
cmp dword [ebp + 8], eax
jle 0x5e94ed
mov ecx, dword [esp + 0x18]
push eax
xor eax, eax
mov al, byte [esi + 0x36f]
push eax
push ebp
call fcn.005e6429
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x5e94fe
inc eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp eax, ecx
jl 0x5e91f2
mov ebx, dword [esp + 0xdbf4]
test edi, edi
je 0x5e9547
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x5e9527
push 1
call fcn.004d59a3
mov eax, dword [edi + 0x18]
test eax, eax
je 0x5e9537
push eax
call fcn.00673d19
add esp, 4
push edi
mov dword [edi + 0x18], 0
call fcn.00673d19
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc9]
mov dword [ebx + 0x242], edx
mov dword [ebx + 0x246], ebp
jmp 0x5e959d
cmp eax, edi
je 0x5e959d
mov esi, dword [ebx + 0x246]
cmp esi, edi
je 0x5e9597
mov ecx, dword [esi + 0x14]
cmp ecx, edi
je 0x5e957b
push 1
call fcn.004d59a3
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x5e958b
push eax
call fcn.00673d19
add esp, 4
push esi
mov dword [esi + 0x18], edi
call fcn.00673d19
add esp, 4
mov dword [ebx + 0x246], edi
mov ecx, dword [esp + 0xdbe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdbdc
ret 8