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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edi
cmp dword [edi + 0xc8], 0
je 0x5fc92c
mov eax, dword [edi]
cmp dword [eax + 8], 0
jne 0x5fc92c
cmp dword [eax + 0x88], 0
jne 0x5fc92c
mov ecx, dword [edi + 0xcc]
push 0
push 0
push dword [eax + 0x10c]
call fcn.005c9270
mov edx, dword [edi]
mov ecx, dword [edi + 0x84]
mov eax, dword [edx + 0xcc]
mov dword [edi + 0x88], eax
cmp eax, ecx
jle 0x5fc94a
mov dword [edi + 0x88], ecx
mov eax, dword [edi + 0xa0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xac]
mov dword [esp + 0x58], eax
lea eax, [edx + 0xd8]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.005c7b00
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0xb4], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0xb8], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 0xbc], eax
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x5fc9e7
cmp byte [eax + 0x159], 0
jne 0x5fc9e7
mov eax, dword [edi + 0x88]
mov byte [esp + 0x13], 1
mov dword [edi + 0x8c], eax
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
jmp 0x5fc9ec
mov byte [esp + 0x13], 0
cmp dword [edi + 0xd0], 0
jne 0x5fca07
mov dword [edi + 0x80], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
xor edx, edx
mov dword [esp + 0x48], edx
cmp dword [edi + 0x80], edx
jle 0x5fd4fc
fld dword [0x6b0a28]
imul ebx, edx, 0xbc
add ebx, dword [edi + 0xd0]
mov dword [esp + 0x14], ebx
fst dword [ebx + 0x7c]
mov byte [ebx + 0x99], 1
mov eax, dword [edi]
cmp dword [eax + 8], 0
je 0x5fca4d
mov byte [ebx + 0x98], 1
jmp 0x5fcaf2
cmp dword [eax + 0x88], 1
jne 0x5fca6d
mov eax, dword [eax + 0x108]
lea ecx, [edx + edx*2]
shl ecx, 5
mov eax, dword [eax + ecx + 0x58]
shr eax, 0x1f
xor al, 1
jmp 0x5fcaec
mov ecx, dword [edi + 0xc8]
test ecx, ecx
je 0x5fca84
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4]
shr eax, 0x1f
xor al, 1
jmp 0x5fcaec
cmp byte [edi + 0xe2], 0
je 0x5fcace
cmp edx, 3
jge 0x5fcace
mov byte [ebx + 0x98], 0
xor edx, edx
mov esi, dword [edi]
xor ecx, ecx
mov edi, dword [esi + 0x80]
cmp edx, edi
jge 0x5fcab6
mov eax, dword [esi + 0x10c]
cmp dword [eax + ecx + 0xc], 0
jge 0x5fcac1
add ecx, 0x28
inc edx
cmp ecx, 0x78
jge 0x5fcac8
jmp 0x5fcaa5
mov byte [ebx + 0x98], 1
mov edi, dword [esp + 0x24]
jmp 0x5fcaf2
cmp edx, dword [eax + 0x80]
jge 0x5fcaea
mov eax, dword [eax + 0x10c]
lea ecx, [edx + edx*4]
cmp dword [eax + ecx*8 + 0xc], 0
jl 0x5fcaea
mov al, 1
jmp 0x5fcaec
xor al, al
mov byte [ebx + 0x98], al
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov edx, dword [edi + 0xb4]
mov ecx, dword [edi + 0xbc]
mov eax, dword [edi + 0xb8]
add ecx, edx
mov ebx, dword [edi + 0xb0]
add eax, ebx
mov dword [esp + 0x44], eax
test edx, edx
jg 0x5fcb25
mov eax, edx
cdq
idiv esi
mov edi, eax
jmp 0x5fcb2e
lea eax, [edx - 1]
cdq
idiv esi
lea edi, [eax + 1]
test ecx, ecx
jg 0x5fcb3b
mov eax, ecx
cdq
idiv esi
mov ecx, eax
jmp 0x5fcb44
lea eax, [ecx - 1]
cdq
idiv esi
lea ecx, [eax + 1]
test ebx, ebx
jg 0x5fcb51
mov eax, ebx
cdq
idiv ebp
mov esi, eax
jmp 0x5fcb5a
lea eax, [ebx - 1]
cdq
idiv ebp
lea esi, [eax + 1]
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x5fcb67
cdq
idiv ebp
jmp 0x5fcb6c
dec eax
cdq
idiv ebp
inc eax
mov edx, dword [esp + 0x14]
sub ecx, edi
sub eax, esi
mov ebx, dword [edx + 0x38]
mov dword [edx + 0x2c], edi
mov edi, dword [esp + 0x24]
mov dword [edx + 0x34], ecx
mov ecx, ebx
mov dword [edx + 0x28], esi
mov dword [edx + 0x30], eax
mov eax, dword [edi]
mov dword [esp + 0x2c], ebx
sub ecx, dword [eax + 0xc4]
mov dword [edx + 0x3c], ecx
js 0x5fd4e5
test ebx, ebx
js 0x5fd4e5
fstp st(0)
imul edi, ebx, 0x25c
mov ebx, dword [edx + 0x90]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], edi
mov eax, dword [edi + ebx + 0x10]
test eax, eax
jne 0x5fcbe5
mov eax, dword [edx + 0x28]
mov dword [edi + ebx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [edi + ebx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [edi + ebx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [edi + ebx + 0x34], eax
jmp 0x5fcd39
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [edx + 0x3c]
jl 0x5fcc56
movzx ecx, byte [edi + ebx + 0x39]
mov edx, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov esi, dword [eax + 0x24]
mov dword [esp + 0x40], ecx
add esi, ebp
movzx ecx, byte [edi + ebx + 0x38]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x20]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x44]
test ecx, 0xfffffffe
jne 0x5fcc27
sub ebp, ecx
sub esi, ecx
inc ebp
inc esi
sar ebp, 1
sar esi, 1
mov ecx, dword [esp + 0x40]
test ecx, 0xfffffffe
jne 0x5fcc3d
sub edx, ecx
sub eax, ecx
inc edx
inc eax
sar edx, 1
sar eax, 1
sub esi, ebp
mov dword [edi + ebx + 0x28], edx
sub eax, edx
mov dword [edi + ebx + 0x2c], ebp
mov dword [edi + ebx + 0x30], eax
mov dword [edi + ebx + 0x34], esi
jmp 0x5fcd39
mov ecx, dword [edx + 0x74]
mov esi, dword [eax + 0x1c]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x1c], ecx
add ebp, esi
mov ecx, dword [edx + 0x70]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edi + ebx + 0x39]
mov dword [esp + 0x30], ecx
movzx ecx, byte [edi + ebx + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x20]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x28]
test ecx, 0xfffffffe
jne 0x5fccd9
test ecx, ecx
je 0x5fcca1
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
jmp 0x5fccb0
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
sub esi, dword [esp + 0x38]
test ecx, ecx
je 0x5fccbe
mov edi, dword [esp + 0x34]
jmp 0x5fccc9
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x68]
mov ecx, dword [esp + 0x28]
sub esi, ecx
sub ebp, edi
inc esi
mov edi, dword [esp + 0x18]
sub ebp, ecx
inc ebp
sar esi, 1
sar ebp, 1
mov ecx, dword [esp + 0x30]
test ecx, 0xfffffffe
jne 0x5fcd25
test ecx, ecx
jne 0x5fccfc
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
sub edx, dword [esp + 0x1c]
test ecx, ecx
jne 0x5fcd17
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x68]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
sub eax, dword [esp + 0x34]
sub edx, ecx
sub eax, ecx
inc edx
inc eax
sar edx, 1
sar eax, 1
sub ebp, esi
mov dword [edi + ebx + 0x28], edx
sub eax, edx
mov dword [edi + ebx + 0x2c], esi
mov dword [edi + ebx + 0x30], eax
mov dword [edi + ebx + 0x34], ebp
mov eax, dword [edi + ebx + 0x34]
mov ebp, dword [edi + ebx + 0x2c]
add eax, ebp
mov ecx, dword [edi + ebx + 0x1c]
mov esi, dword [edi + ebx + 0x30]
mov edx, dword [edi + ebx + 0x28]
add esi, edx
mov dword [esp + 0x44], eax
mov eax, dword [edi + ebx + 0x24]
add eax, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + ebx + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [edi + ebx + 0x20]
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x38]
jle 0x5fcd7f
mov eax, dword [esp + 0x38]
cmp esi, dword [esp + 0x34]
jle 0x5fcd89
mov esi, dword [esp + 0x34]
cmp ebp, dword [esp + 0x30]
jge 0x5fcd97
mov ebp, dword [esp + 0x30]
mov dword [edi + ebx + 0x2c], ebp
cmp edx, ecx
jge 0x5fcda5
mov dword [edi + ebx + 0x28], ecx
mov edx, ecx
mov ebp, dword [edi + ebx + 0x2c]
sub eax, ebp
sub esi, edx
mov dword [edi + ebx + 0x30], esi
mov dword [edi + ebx + 0x34], eax
test eax, eax
jge 0x5fcdbd
mov dword [edi + ebx + 0x34], 0
test esi, esi
jge 0x5fcdc9
mov dword [edi + ebx + 0x30], 0
mov edx, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [edi + ebx + 0x44], ebp
mov dword [edi + ebx + 0x48], ecx
mov dword [edi + ebx + 0x3c], ebp
mov dword [edi + ebx + 0x40], ecx
cmp eax, dword [edx + 0x3c]
jg 0x5fd4a2
cmp byte [edx + 0x98], cl
je 0x5fd4a2
mov dword [esp + 0x40], ecx
mov cl, byte [edi + ebx + 0xaf]
test cl, cl
je 0x5fcfda
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + ebx + 0xb0]
add edx, ebp
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x70]
mov dword [esp + 0x30], eax
movzx eax, byte [edx + 0x29]
mov dword [esp + 0x28], eax
movzx eax, byte [edx + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add eax, ebp
mov dword [esp + 0x3c], eax
lea eax, [esi + ecx]
mov ecx, dword [esp + 0x1c]
test ecx, 0xfffffffe
jne 0x5fceaf
test ecx, ecx
je 0x5fce69
mov ecx, dword [esp + 0x34]
jmp 0x5fce70
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
sub ebp, dword [esp + 0x38]
test ecx, ecx
je 0x5fce8a
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
jmp 0x5fce95
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x68]
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x1c]
sub ebp, ecx
mov ecx, dword [esp + 0x3c]
inc ebp
sub ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x1c]
inc ecx
sar ebp, 1
sar ecx, 1
jmp 0x5fceb3
mov ecx, dword [esp + 0x3c]
test dword [esp + 0x28], 0xfffffffe
jne 0x5fceff
cmp dword [esp + 0x28], 0
jne 0x5fced3
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x6c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x34], edi
sub esi, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
jne 0x5fceed
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], edi
sub eax, dword [esp + 0x30]
sub esi, dword [esp + 0x28]
sub eax, dword [esp + 0x28]
inc esi
inc eax
sar esi, 1
sar eax, 1
mov dword [edx + 0x18], esi
sub eax, esi
mov dword [edx + 0x1c], ebp
sub ecx, ebp
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov ecx, dword [edx + 0x1c]
mov eax, dword [edx + 0x24]
mov esi, dword [edx + 0xc]
add eax, ecx
mov ebp, dword [edx + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x14]
add eax, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x3c], eax
add ecx, ebp
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
mov esi, dword [edx + 8]
add eax, esi
cmp dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
jle 0x5fcf59
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
cmp ecx, eax
jle 0x5fcf5f
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jge 0x5fcf70
mov eax, dword [esp + 0x38]
mov dword [edx + 0x1c], eax
cmp ebp, esi
jge 0x5fcf7c
mov dword [edx + 0x18], esi
mov ebp, esi
mov eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x34]
sub ecx, ebp
sub esi, eax
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], esi
test esi, esi
jge 0x5fcf95
mov dword [edx + 0x24], 0
test ecx, ecx
jge 0x5fcfa0
mov dword [edx + 0x20], 0
mov ebp, dword [esp + 0x44]
xor ecx, ecx
xor eax, eax
mov dword [edx + 0x34], ecx
mov dword [edx + 0x38], eax
add ebp, 0x68
mov dword [edx + 0x30], eax
mov dword [edx + 0x2c], ecx
mov edx, dword [esp + 0x40]
mov cl, byte [edi + ebx + 0xaf]
inc edx
movzx eax, cl
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
cmp edx, eax
jl 0x5fce11
mov edx, dword [esp + 0x14]
cmp byte [edi + ebx + 0xae], 0
mov dword [esp + 0x3c], 0
jbe 0x5fd29f
xor ebp, ebp
mov dword [esp + 0x38], ebp
jmp 0x5fd000
mov esi, dword [edi + ebx + 0xb8]
mov eax, dword [edx + 0x74]
add esi, ebp
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x70]
mov dword [esp + 0x30], eax
movzx eax, byte [esi + 0x29]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add eax, ebp
mov dword [esp + 0x40], eax
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x1c]
test ecx, 0xfffffffe
jne 0x5fd0a6
test ecx, ecx
je 0x5fd05c
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x5fd06b
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x6c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x44], edi
sub ebp, dword [esp + 0x44]
test ecx, ecx
je 0x5fd081
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x5fd090
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x44], edi
sub ebp, ecx
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x1c]
inc ebp
sub ecx, dword [esp + 0x44]
inc ecx
sar ebp, 1
sar ecx, 1
jmp 0x5fd0aa
mov ecx, dword [esp + 0x40]
test dword [esp + 0x28], 0xfffffffe
jne 0x5fd0f6
cmp dword [esp + 0x28], 0
jne 0x5fd0ca
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x6c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x34], edi
sub edx, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
jne 0x5fd0e4
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], edi
sub eax, dword [esp + 0x28]
sub edx, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
inc edx
inc eax
sar edx, 1
sar eax, 1
mov dword [esi + 0x18], edx
sub eax, edx
mov dword [esi + 0x1c], ebp
sub ecx, ebp
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0xc]
add eax, ecx
mov ebp, dword [esi + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x14]
add eax, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x44], eax
add ecx, ebp
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 8]
add eax, edx
cmp dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
jle 0x5fd150
mov edi, dword [esp + 0x44]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
cmp ecx, eax
jle 0x5fd156
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x40]
jge 0x5fd167
mov eax, dword [esp + 0x40]
mov dword [esi + 0x1c], eax
cmp ebp, edx
jge 0x5fd173
mov dword [esi + 0x18], edx
mov ebp, edx
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x34]
sub ecx, ebp
sub edx, eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
test edx, edx
jge 0x5fd18c
mov dword [esi + 0x24], 0
test ecx, ecx
jge 0x5fd197
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x48]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
add edx, eax
sub ecx, dword [esi + 0x44]
mov ebp, dword [esi + 0x50]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x20]
add edx, ecx
mov dword [esp + 0x40], edx
test eax, eax
jns 0x5fd1c5
not eax
cdq
idiv ebp
not eax
jmp 0x5fd1c8
cdq
idiv ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x5fd1db
cdq
idiv ebp
mov ebp, eax
jmp 0x5fd1e2
dec eax
cdq
idiv ebp
lea ebp, [eax + 1]
test ecx, ecx
jns 0x5fd1f4
not ecx
mov eax, ecx
cdq
idiv dword [esi + 0x4c]
mov ecx, eax
not ecx
jmp 0x5fd1fc
mov eax, ecx
cdq
idiv dword [esi + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x40]
test eax, eax
jg 0x5fd20a
cdq
idiv dword [esi + 0x4c]
jmp 0x5fd210
dec eax
cdq
idiv dword [esi + 0x4c]
inc eax
cmp dword [esi + 0x24], 0
mov edx, dword [esp + 0x34]
jne 0x5fd21c
mov ebp, edx
cmp dword [esi + 0x20], 0
jne 0x5fd224
mov eax, ecx
mov dword [esi + 0x64], ecx
sub eax, ecx
mov dword [esi + 0x68], edx
sub ebp, edx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], ebp
cmp dword [esi + 0x24], 0
jle 0x5fd26d
cmp dword [esi + 0x20], 0
jle 0x5fd26d
movzx eax, byte [esi + 0x29]
mov ecx, dword [esi]
push eax
movzx eax, byte [esi + 0x28]
push eax
mov eax, dword [esi + 0x18]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esi + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x20]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x24]
mov dword [edx + 0xc], eax
call fcn.005f2760
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
inc ecx
movzx eax, byte [edi + ebx + 0xae]
add ebp, 0x84
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebp
cmp ecx, eax
jl 0x5fd000
mov cl, byte [edi + ebx + 0xaf]
movzx esi, cl
sub esi, 1
js 0x5fd2fa
imul ebp, esi, 0x68
lea ebx, [ebx]
mov ecx, dword [edi + ebx + 0xb0]
add ecx, ebp
cmp dword [ecx + 0x24], 0
jle 0x5fd2f2
cmp dword [ecx + 0x20], 0
jle 0x5fd2f2
movzx eax, byte [ecx + 0x29]
push eax
movzx eax, byte [ecx + 0x28]
push eax
mov eax, dword [ecx + 0x2c]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 0x30]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0x34]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x38]
mov ecx, dword [ecx]
mov dword [edx + 0xc], eax
call fcn.005f2760
sub ebp, 0x68
sub esi, 1
jns 0x5fd2b0
mov eax, dword [edi + ebx + 0x40]
sub eax, dword [edi + ebx + 0x7c]
mov ebp, dword [edi + ebx + 0x48]
mov edx, dword [edi + ebx + 0x80]
mov ecx, dword [edi + ebx + 0x3c]
sub ecx, dword [edi + ebx + 0x78]
mov esi, dword [edi + ebx + 0x84]
mov dword [esp + 0x28], edx
lea edx, [eax + ebp]
mov dword [esp + 0x44], edx
mov edx, dword [edi + ebx + 0x44]
add edx, ecx
mov dword [esp + 0x40], edx
test eax, eax
jns 0x5fd340
not eax
cdq
idiv esi
mov ebp, eax
not ebp
jmp 0x5fd345
cdq
idiv esi
mov ebp, eax
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x5fd354
cdq
idiv esi
mov esi, eax
jmp 0x5fd35b
dec eax
cdq
idiv esi
lea esi, [eax + 1]
test ecx, ecx
jns 0x5fd36e
not ecx
mov eax, ecx
cdq
idiv dword [esp + 0x28]
mov ecx, eax
not ecx
jmp 0x5fd377
mov eax, ecx
cdq
idiv dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x40]
test eax, eax
jg 0x5fd386
cdq
idiv dword [esp + 0x28]
jmp 0x5fd38d
dec eax
cdq
idiv dword [esp + 0x28]
inc eax
cmp dword [edi + ebx + 0x48], 0
jne 0x5fd396
mov esi, ebp
cmp dword [edi + ebx + 0x44], 0
jne 0x5fd39f
mov eax, ecx
mov dword [edi + ebx + 0x98], ecx
sub eax, ecx
mov dword [edi + ebx + 0x9c], ebp
sub esi, ebp
mov dword [edi + ebx + 0xa0], eax
mov dword [edi + ebx + 0xa4], esi
mov edx, dword [edi + ebx + 0x8c]
mov eax, dword [edi + ebx + 0x94]
mov ebp, dword [edi + ebx + 0x9c]
add eax, edx
mov ecx, dword [edi + ebx + 0xa0]
add esi, ebp
mov dword [esp + 0x44], eax
mov eax, dword [edi + ebx + 0x90]
mov dword [esp + 0x3c], edx
mov edx, dword [edi + ebx + 0x88]
add eax, edx
mov dword [esp + 0x38], esi
mov esi, dword [edi + ebx + 0x98]
add ecx, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x44]
jle 0x5fd416
mov eax, dword [esp + 0x44]
cmp ecx, dword [esp + 0x40]
jle 0x5fd420
mov ecx, dword [esp + 0x40]
cmp ebp, dword [esp + 0x3c]
jge 0x5fd431
mov ebp, dword [esp + 0x3c]
mov dword [edi + ebx + 0x9c], ebp
cmp esi, edx
jge 0x5fd445
mov dword [edi + ebx + 0x98], edx
mov esi, edx
mov ebp, dword [edi + ebx + 0x9c]
sub eax, ebp
sub ecx, esi
mov dword [edi + ebx + 0xa0], ecx
mov dword [edi + ebx + 0xa4], eax
test eax, eax
jge 0x5fd466
mov dword [edi + ebx + 0xa4], 0
test ecx, ecx
jns 0x5fd477
mov dword [edi + ebx + 0xa0], 0
xor ecx, ecx
cmp byte [esp + 0x13], 0
je 0x5fd4c6
mov eax, dword [edi + ebx + 0xa4]
mov edi, dword [esp + 0x24]
imul eax, dword [edi + 0x8c]
imul eax, ecx
cdq
add dword [edi + 0x98], eax
adc dword [edi + 0x9c], edx
jmp 0x5fd4ca
mov eax, ebp
mov dword [edi + ebx + 0x98], eax
mov dword [edi + ebx + 0x9c], eax
mov dword [edi + ebx + 0xa0], eax
mov dword [edi + ebx + 0xa4], eax
mov edi, dword [esp + 0x24]
jmp 0x5fd4ce
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
sub ebx, 1
mov dword [esp + 0x2c], ebx
jns 0x5fcba8
fld dword [0x6b0a28]
mov edx, dword [esp + 0x48]
inc edx
mov dword [esp + 0x48], edx
cmp edx, dword [edi + 0x80]
jl 0x5fca1f
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret