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

Disassembly:
sub esp, 0x278
mov eax, dword [esp + 0x27c]
push ebx
push ebp
mov ebp, dword [esp + 0x288]
mov ebx, dword [eax]
lea eax, [ebp + 1]
add eax, ebx
cmp dword [esp + 0x294], 0
mov dword [esp + 0x5c], eax
je 0x5859eb
push esi
push edi
lea esi, [esp + 0xd8]
mov edi, 4
nop dword [eax]
sub esp, 0x10
mov ecx, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00583bb0
add esi, 0x10
sub edi, 1
jne 0x584da0
lea esi, [esp + 0x208]
mov edi, 4
nop dword [eax]
sub esp, 0x10
mov ecx, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00583bb0
add esi, 0x10
sub edi, 1
jne 0x584de0
lea esi, [esp + 0x248]
mov edi, 4
nop dword [eax]
sub esp, 0x10
mov ecx, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00583bb0
add esi, 0x10
sub edi, 1
jne 0x584e20
lea eax, [ebp + 1]
add eax, ebx
push eax
push dword [esp + 0x298]
call fcn.00587400
lea ecx, [ebp + 2]
add esp, 8
lea edi, [eax - 1]
imul edi, dword [esp + 0x29c]
add edi, ebx
add ecx, edi
mov dword [esp + 0x6c], edi
add ecx, dword [esp + 0x29c]
mov esi, ecx
je 0x584eba
lea eax, [ecx*4]
mov ecx, 0x7d8954
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x7d8954]
call dword [eax + 0xc]
mov ebx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cdq
and edx, 3
lea ecx, [edx + eax]
sar ecx, 2
jmp 0x584ec0
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x80], esi
test ecx, ecx
mov esi, connect
mov dword [esp + 0x7c], ebx
mov eax, esi
cmovne eax, ecx
mov dword [esp + 0x84], eax
lea eax, [edi + 1]
mov edi, eax
test eax, eax
je 0x584f15
shl eax, 4
mov ecx, 0x7d8954
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x7d8954]
call dword [eax + 0xc]
mov ecx, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
jmp 0x584f1b
xor ecx, ecx
mov dword [esp + 0x54], ecx
test eax, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edi
cmovne esi, eax
mov dword [esp + 0x78], esi
test edi, edi
jle 0x584f67
mov esi, ecx
test esi, esi
je 0x584f5f
sub esp, 0x10
mov ecx, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00583bb0
add esi, 0x10
sub edi, 1
jne 0x584f32
mov edi, dword [esp + 0x29c]
lea esi, [edi + ebp]
mov eax, esi
mov dword [esp + 0x10], esi
cdq
sub eax, edx
mov edx, ebp
mov ebx, eax
mov ebp, 1
sar ebx, 1
mov dword [esp + 0x60], ebx
mov dword [esp + 0x14], ebp
lea ecx, [edx + esi*4]
mov dword [esp + ecx*4 + 0x98], 0x3f800000
mov dword [esp + 0x98], 0x3f800000
cmp ebx, ebp
jl 0x585080
nop
push ebp
push esi
call fcn.00588190
movss xmm1, dword [0x718824]
add esp, 8
mov edx, dword [esp + 0x290]
mov esi, ebp
cmp edx, ebp
mov ecx, 0
movd xmm0, eax
mov eax, ebp
cvtdq2ps xmm0, xmm0
cmovl eax, edx
sub esi, edi
mov dword [esp + 0x24], eax
cmovs esi, ecx
divss xmm1, xmm0
movss dword [esp + 0x48], xmm1
cmp esi, eax
jg 0x58506f
mov edi, ebp
lea eax, [esi + ebp*4]
mov ebp, dword [esp + 0x24]
lea ebx, [esp + 0x98]
sub edi, esi
lea ebx, [ebx + eax*4]
nop
push esi
push edx
call fcn.00588190
push edi
push dword [esp + 0x2a8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x58]
movss dword [esp + 0x34], xmm0
call fcn.00588190
movss xmm1, dword [esp + 0x34]
lea ebx, [ebx + 4]
mov edx, dword [esp + 0x2a0]
inc esi
add esp, 0x10
dec edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [ebx - 4], xmm1
cmp esi, ebp
jle 0x585010
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x29c]
mov esi, dword [esp + 0x10]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, ebx
jle 0x584fb0
lea edi, [esi - 1]
lea ebp, [ebx + 1]
mov dword [esp + 0x24], edi
cmp ebp, edi
jg 0x58517b
mov eax, dword [esp + 0x29c]
nop dword [eax]
cmp edx, ebp
mov esi, ebp
mov ebx, ebp
mov ecx, 0
cmovl esi, edx
sub ebx, eax
cmovs ebx, ecx
cmp ebx, esi
jg 0x585167
mov eax, esi
sub eax, ebx
inc eax
cmp eax, 4
jl 0x585122
lea eax, [ebx + ebp*4]
mov edi, esi
lea ecx, [esp + 0x9c]
sub edi, ebx
lea ecx, [ecx + eax*4]
sub edi, 3
mov eax, dword [esp + 0x10]
sub eax, ebp
shr edi, 2
shl eax, 2
sub eax, ebx
add eax, edx
inc edi
lea edx, [esp + eax*4 + 0x90]
lea ebx, [ebx + edi*4]
mov eax, dword [edx + 8]
lea ecx, [ecx + 0x10]
mov dword [ecx - 0x14], eax
lea edx, [edx - 0x10]
mov eax, dword [edx + 0x14]
mov dword [ecx - 0x10], eax
mov eax, dword [edx + 0x10]
mov dword [ecx - 0xc], eax
mov eax, dword [edx + 0xc]
mov dword [ecx - 8], eax
sub edi, 1
jne 0x5850f4
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x290]
cmp ebx, esi
jg 0x585160
lea eax, [ebx + ebp*4]
sub esi, ebx
lea ecx, [esp + 0x98]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x10]
sub eax, ebp
shl eax, 2
sub eax, ebx
add eax, edx
lea edx, [esp + 0x98]
inc esi
lea edx, [edx + eax*4]
nop dword [eax]
mov eax, dword [edx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
lea edx, [edx - 4]
sub esi, 1
jne 0x585150
mov eax, dword [esp + 0x29c]
mov edx, dword [esp + 0x290]
inc ebp
cmp ebp, edi
jle 0x5850a0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x290]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x298]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x294]
lea ebp, [edi + 1]
push dword [ebx]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x5c], edi
mov eax, dword [eax]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x18], 1
movss xmm0, dword [eax]
movss dword [esp + 0x30], xmm0
call fcn.00583be0
test esi, esi
js 0x5851e8
mov edi, dword [esp + 0x20]
lea ecx, [esi*4 + 4]
mov eax, dword [esp + 0x2c]
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x290]
test edi, edi
js 0x58521e
mov ebx, dword [ebx]
lea esi, [esp + 0xd8]
mov eax, esi
mov edi, ebp
sub ebx, eax
nop dword [eax + eax]
lea eax, [ebx + esi]
mov ecx, esi
push eax
call fcn.00583be0
add esi, 0x10
sub edi, 1
jne 0x585200
mov edi, dword [esp + 0x290]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x64]
cmp ebp, ebx
jge 0x585974
nop word [eax + eax]
mov edx, ebp
cmp ebp, ebx
jge 0x585259
mov eax, dword [esp + 0x294]
mov ecx, dword [eax]
nop
movss xmm0, dword [ecx + ebp*4]
ucomiss xmm0, dword [ecx + ebp*4 + 4]
lahf
test ah, 0x44
jp 0x585255
inc ebp
cmp ebp, ebx
jl 0x585240
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x294]
sub ebp, edx
inc ebp
mov ecx, edi
sub ecx, ebp
mov ebx, dword [eax]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x48], ebx
movss xmm0, dword [ebx + eax*4]
mov eax, dword [esp + 0x28]
movss dword [esp + 0x3c], xmm0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
test eax, eax
jle 0x58529a
add eax, 2
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x50], eax
jmp 0x5852a2
mov dword [esp + 0x50], 1
test ecx, ecx
jle 0x5852b0
lea eax, [ecx + 1]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov dword [esp + 0x24], esi
test ecx, ecx
jle 0x5854c0
movss xmm3, dword [esp + 0x2c]
movaps xmm2, xmm0
subss xmm2, xmm3
mov edx, edi
cmp edi, ebp
jle 0x5853b6
cmp ecx, 4
jl 0x58537e
mov eax, dword [esp + 0x58]
lea esi, [ebx - 8]
mov edx, dword [esp + 0x290]
lea ecx, [esp + ecx*4 + 0x80]
add eax, edi
sub edi, ebp
sub edi, 4
shr edi, 2
inc edi
lea ebx, [ebx + eax*4]
lea esi, [esi + eax*4]
add ebx, 0xfffffffc
lea eax, [edi*4]
sub edx, eax
nop
movss xmm1, dword [esi + 8]
movaps xmm0, xmm2
subss xmm1, xmm3
divss xmm0, xmm1
movss xmm1, dword [ebx]
sub ebx, 0x10
subss xmm1, xmm3
movss dword [ecx + 4], xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss xmm1, dword [esi]
subss xmm1, xmm3
movss dword [ecx], xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss xmm1, dword [esi - 4]
sub esi, 0x10
subss xmm1, xmm3
movss dword [ecx - 4], xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [ecx - 8], xmm0
sub ecx, 0x10
sub edi, 1
jne 0x585310
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x290]
mov ecx, dword [esp + 0x28]
cmp edx, ebp
jle 0x5853b6
mov eax, dword [esp + 0x58]
add eax, edx
sub edx, ebp
lea eax, [ebx + eax*4]
lea ecx, [esp + edx*4 + 0x84]
movss xmm1, dword [eax]
movaps xmm0, xmm2
subss xmm1, xmm3
sub eax, 4
divss xmm0, xmm1
movss dword [ecx], xmm0
sub ecx, 4
sub edx, 1
jne 0x585394
mov ecx, dword [esp + 0x28]
cmp ecx, 1
jl 0x5854c0
mov eax, edi
lea edx, [esp + 0xd8]
shl eax, 4
lea ecx, [ebp + 1]
mov ebp, dword [esp + 0x28]
add edx, eax
mov eax, ebp
mov dword [esp + 0x30], edx
add eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebp
lea ebx, [esp + eax*8 + 0x238]
lea eax, [esp + ebp*4 + 0x84]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], eax
nop word [eax + eax]
cmp edi, ecx
jl 0x58548c
sub edi, ecx
mov ebx, edx
mov ebp, eax
inc edi
nop
movss xmm1, dword [ebp]
lea esi, [ebx - 0x10]
movss xmm0, dword [0x718824]
lea eax, [esp + 0x118]
subss xmm0, xmm1
push esi
push ecx
movss dword [esp], xmm0
push eax
call fcn.00588a90
movss xmm0, dword [ebp]
add esp, 0xc
push eax
lea eax, [esp + 0x12c]
push eax
push ebx
push ecx
lea eax, [esp + 0x148]
movss dword [esp], xmm0
push eax
call fcn.00588a90
add esp, 0xc
mov ecx, eax
call fcn.00583cf0
push eax
mov ecx, ebx
call fcn.00583be0
sub ebp, 4
mov ebx, esi
sub edi, 1
jne 0x585410
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x290]
push edx
mov ecx, ebx
call fcn.00583be0
mov ecx, dword [esp + 0x44]
sub ebx, 0x10
mov eax, dword [esp + 0x40]
inc ecx
mov edx, dword [esp + 0x30]
sub eax, 4
sub ebp, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebp
jne 0x585400
mov eax, dword [esp + 0x50]
mov ebx, eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x10]
jg 0x5855aa
sub esp, 0x10
lea ebp, [esp + 0x218]
mov eax, ebx
lea ecx, [esp + 0x158]
shl eax, 4
add ebp, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00583bb0
push eax
mov ecx, ebp
call fcn.00583be0
cmp edi, ebx
mov esi, ebx
mov ecx, ebx
mov eax, 0
cmovl esi, edi
sub ecx, dword [esp + 0x29c]
cmovs ecx, eax
cmp ecx, esi
jg 0x58559b
mov eax, ecx
lea edi, [esp + 0xd8]
shl eax, 4
sub esi, ecx
add edi, eax
lea eax, [ecx + ebx*4]
lea ebx, [esp + 0x98]
inc esi
lea ebx, [ebx + eax*4]
movss xmm0, dword [ebx]
lea eax, [esp + 0x158]
push edi
push ecx
movss dword [esp], xmm0
push eax
call fcn.00588a90
add esp, 0xc
mov ecx, ebp
push eax
lea eax, [esp + 0x16c]
push eax
call fcn.00583cf0
push eax
mov ecx, ebp
call fcn.00583be0
add edi, 0x10
lea ebx, [ebx + 4]
sub esi, 1
jne 0x585552
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x290]
inc ebx
mov dword [esp + 0x1c], ebx
cmp ebx, dword [esp + 0x10]
jle 0x5854d4
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp ebp, 1
jle 0x585831
movss xmm5, dword [esp + 0x3c]
lea edx, [eax - 2]
movss xmm4, dword [esp + 0x2c]
movaps xmm0, xmm5
movss xmm3, dword [0x718824]
subss xmm0, xmm4
movaps xmm2, xmm3
mov dword [esp + 0x60], edx
movaps xmm1, xmm5
mov ebp, edx
subss xmm1, dword [esi + eax*4 - 4]
shl ebp, 4
lea esi, [esp + 0x218]
divss xmm2, xmm0
add ebp, dword [esp + 0x54]
mov ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], esi
mulss xmm1, xmm2
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x34], xmm1
lea ebx, [eax - 1]
mov edi, edx
add ebx, ecx
mov eax, ebx
sub eax, edx
cmp eax, ecx
jle 0x585803
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
lea ebp, [eax - 1]
lea edx, [edx + eax*4]
add edx, 0xfffffffc
mov dword [esp + 0x30], edx
cmp edi, dword [esp + 0x14]
jge 0x5856f7
mov eax, dword [esp + 0x20]
movaps xmm0, xmm4
movaps xmm2, xmm5
subss xmm0, dword [eax + edi*4]
subss xmm2, dword [eax + edi*4]
lea eax, [ecx - 0x10]
push eax
push ecx
lea eax, [esp + 0x180]
divss xmm2, xmm0
movaps xmm0, xmm3
subss xmm0, xmm2
movss dword [esp + 0x70], xmm2
movss dword [esp], xmm0
push eax
call fcn.00588a90
movss xmm0, dword [esp + 0x74]
add esp, 0xc
push eax
lea eax, [esp + 0x18c]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x1a4]
push ecx
movss dword [esp], xmm0
push eax
call fcn.00588a90
add esp, 0xc
mov ecx, eax
call fcn.00583cf0
mov ecx, dword [esp + 0x38]
push eax
call fcn.00583be0
movss xmm1, dword [esp + 0x34]
movss xmm3, dword [0x718824]
movss xmm2, dword [esp + 0x40]
movss xmm5, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
cmp ebx, dword [esp + 0x50]
jl 0x5857b1
mov eax, dword [esp + 0x4c]
movaps xmm0, xmm3
sub eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
cmp ebp, eax
lea eax, [esi + 0x10]
push eax
push ecx
jg 0x58575b
movaps xmm1, xmm5
lea eax, [esp + 0x1b0]
subss xmm1, dword [edx]
mulss xmm1, xmm2
subss xmm0, xmm1
movss dword [esp + 0x70], xmm1
movss dword [esp], xmm0
push eax
call fcn.00588a90
movss xmm0, dword [esp + 0x74]
add esp, 0xc
push eax
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x1d0]
jmp 0x58578a
subss xmm0, xmm1
lea eax, [esp + 0x1e0]
movss dword [esp], xmm0
push eax
call fcn.00588a90
movss xmm0, dword [esp + 0x40]
add esp, 0xc
push eax
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0x200]
push esi
push ecx
movss dword [esp], xmm0
push eax
call fcn.00588a90
add esp, 0xc
mov ecx, eax
call fcn.00583cf0
push eax
mov ecx, esi
call fcn.00583be0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
movss xmm1, dword [esp + 0x34]
dec ebx
movss xmm3, dword [0x718824]
inc edi
movss xmm2, dword [esp + 0x40]
mov eax, ebx
movss xmm4, dword [esp + 0x2c]
add ecx, 0x10
movss xmm5, dword [esp + 0x3c]
sub edx, 4
sub eax, edi
mov dword [esp + 0x38], ecx
sub esi, 0x10
mov dword [esp + 0x30], edx
dec ebp
cmp eax, dword [esp + 0x1c]
jg 0x585652
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
inc ecx
dec edx
mov dword [esp + 0x1c], ecx
sub ebp, 0x10
mov dword [esp + 0x60], edx
add esi, 0x10
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], esi
cmp ecx, dword [esp + 0x4c]
jl 0x585622
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x290]
cmp dword [esp + 0x58], ebx
je 0x585857
mov edx, dword [esp + 0x10]
sub edx, ebp
test edx, edx
jle 0x585857
add dword [esp + 0x18], edx
lea edi, [esi + eax*4]
mov eax, dword [esp + 0x2c]
mov ecx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jg 0x58589a
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x208]
mov esi, edx
mov eax, ecx
sub ebp, ecx
shl esi, 4
add esi, dword [esp + 0x54]
inc ebp
shl eax, 4
add edi, eax
add edx, ebp
mov dword [esp + 0x14], edx
push edi
mov ecx, esi
call fcn.00583be0
add esi, 0x10
add edi, 0x10
sub ebp, 1
jne 0x585887
mov ebp, dword [esp + 0x5c]
cmp ebp, dword [esp + 0x64]
jge 0x58593e
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x5858e4
xor esi, esi
mov edi, ecx
nop dword [eax]
nop dword [eax + eax]
lea eax, [esp + 0x248]
add eax, esi
lea ecx, [esp + 0xd8]
push eax
add ecx, esi
call fcn.00583be0
add esi, 0x10
sub edi, 1
jne 0x5858c0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jg 0x585923
mov eax, ecx
lea edi, [esp + 0xd8]
shl eax, 4
mov esi, ebp
sub esi, ebx
add edi, eax
mov eax, dword [esp + 0x298]
add esi, ecx
shl esi, 4
sub ebx, ecx
add esi, dword [eax]
inc ebx
nop dword [eax + eax]
push esi
mov ecx, edi
call fcn.00583be0
add esi, 0x10
add edi, 0x10
sub ebx, 1
jne 0x585910
movss xmm0, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x58], ebp
inc ebp
mov dword [esp + 0x5c], ebp
movss dword [esp + 0x2c], xmm0
jmp 0x585961
mov esi, dword [esp + 0x10]
test esi, esi
js 0x585961
mov edx, dword [esp + 0x18]
lea ecx, [esi*4 + 4]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
shr ecx, 2
lea edi, [edi + edx*4]
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x290]
cmp ebp, ebx
jl 0x585230
mov ecx, dword [esp + 0x298]
lea eax, [esp + 0x70]
push eax
call fcn.00589710
push dword [esp + 0x294]
lea ecx, [esp + 0x80]
call fcn.005896e0
mov ecx, dword [esp + 0x28c]
mov eax, dword [esp + 0x6c]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
test eax, eax
js 0x5859c9
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 4
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x6c]
call dword [eax + 0x10]
mov eax, dword [esp + 0x7c]
test eax, eax
js 0x5859eb
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x78]
call dword [eax + 0x10]
pop ebp
pop ebx
add esp, 0x278
ret